?

Log in

No account? Create an account

Previous Entry | Next Entry

[Please edit and title your post!]

  • Mar. 16th, 2011 at 10:03 PM
Hello.
Tell me, please, whether there is a variable specifying in the current reference in an address line of the browser?
Thanks.

Comments

herbera
Mar. 22nd, 2011 06:41 pm (UTC)
Yes, I it have understood all.
Initially I simply wanted to "catch" the address from an address line of the browser, to isolate id of entry and to compare it to certain value (which I foreknow).

The general principle:

var url = (?);
var id = (a part url);
if ($.view = "entry") {
if (id=9773 or id=8751) {
"""< body class ="current" >""";
}
}


But time doesn't exist a variable "url" it is impossible so to operate :(

Thanks you for the help to use itemid.

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars