Results 1 to 4 of 4
Threaded View
-
3rd Sep 2010, 02:53 PM #1OPMemberWebsite's:
maxneeds.info[JS] indexof prob
Hi !
I have the following function :
Code:<script>function hide(){ var str=document.location.href; if(str.indexOf(\"?to=\")) {document.getElementById('vip').style.display='none';} }</script>
But this one is hiding it always.
Any help ?Porsche_maniak Reviewed by Porsche_maniak on . [JS] indexof prob Hi ! I have the following function : <script>function hide(){ var str=document.location.href; if(str.indexOf(\"?to=\")) {document.getElementById('vip').style.display='none';} }</script> I am trying to hide an object if in the url contains '?to=' . But this one is hiding it always. Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
help me plz dle prob
By fahadzaman66 in forum Webmaster DiscussionReplies: 10Last Post: 15th Oct 2011, 02:12 AM -
ipb seo 1.1 prob
By FSL in forum IP.BoardReplies: 12Last Post: 25th May 2011, 04:48 PM -
RL Mtn prob
By Chris2k in forum Technical Help Desk SupportReplies: 1Last Post: 10th Jan 2011, 12:53 AM -
Prob With my PC :| (Help!!)
By vizoomer in forum Technical Help Desk SupportReplies: 19Last Post: 12th Aug 2010, 07:32 AM -
CSS IE6 prob
By Porsche_maniak in forum Web Development AreaReplies: 1Last Post: 5th Jun 2010, 10:06 AM
themaCreator - create posts from...
Version 3.46 released. Open older version (or...