The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

drop down menu not working...

2 posters

Go down

Solved drop down menu not working...

Post by JAN2XONLINE September 15th 2010, 4:42 pm

my problem is when i choose one on the list and click it, its not going to that page...but i have the link of that page

but when im just previewing the page in HTML management, its working -_-
drop down menu not working... 211

my codes:
Spoiler:

my html page:
drop down menu not working... 111

i just highlighted the page


if u want to see it, go to my site: my site
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Guest September 15th 2010, 4:50 pm

Can you give me the code, or do you want me to make a new one for you? Razz
avatar
Guest
Guest


Back to top Go down

Solved Re: drop down menu not working...

Post by JAN2XONLINE September 15th 2010, 8:07 pm

if thats ok, u can make me a new drop down menu sir...xD
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Guest September 15th 2010, 8:08 pm

Good xD just give me some time :=O

Edit:
Try this in your html page:

Put these codes in the <head> tag:
Code:

<style type="text/css">

input[type="button"] {
   font-size: 0.9em;
   border: 1px solid #006699;
   width: auto !important;
   margin: 0px 0.25em 0;
   padding: 6px;
   font-family:Arial, Helvetica, sans-serif;
   color: #000000;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   height: 30px;
   background-color: #dfdfdf;
   background-image: url('http://hitskin.com/themes/14/56/31/i_list_bg.png');
   background-position: top;
   overflow: visible;
   vertical-align:middle;
   }
         
 
   #select {
   border: 1px solid #006699;
   width: auto !important;
   padding: 3px;
   font-family:Arial, Helvetica, sans-serif;
   color: #000000;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   height: 30px;
   background-color: #dfdfdf;
   background-image: url('http://hitskin.com/themes/14/56/31/i_list_bg.png');
   background-position: top;
   overflow: visible;
   vertical-align:middle;
   }

</style>

<script type="text/javascript">

var thetext2=new Array()
thetext2[0]="Go to the welcome page."
thetext2[1]="Enter the forum Index."
thetext2[2]="Enter the forum Portal."
thetext2[3]="Go to the login form."
thetext2[4]="Go to the Registration form."


function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}


displaydesc(document.form1.select1, thetext1, 'textcontainer1')
displaydesc(document.form2.select2, thetext2, 'textcontainer2')

</script>

Put this in the <body> tag:
Code:

<!--drop down menu begin-->

<form name="form2">
<select name="select2" id="select" size="1" onChange="displaydesc(document.form2.select2, thetext2, 'textcontainer2')">
<option selected value="http://strawhatclan.findtalk.biz/">Homepage</option>
<option value="http://strawhatclan.findtalk.biz/index.htm">Forum</option>
<option value="http://strawhatclan.findtalk.biz/portal.htm">Portal</option>
<option value="http://strawhatclan.findtalk.biz/login.forum?connexion">Login</option>
<option value="http://strawhatclan.findtalk.biz/profile.forum?mode=register">Register</option>
</select>
 <input type="button" value="Go"
onClick="jumptolink(document.form2.select2)"><br>
<span id="textcontainer2" align="left" style="font:italic 13px Arial">
</span>
</form>

<!--drop down menu end-->
avatar
Guest
Guest


Back to top Go down

Solved Re: drop down menu not working...

Post by JAN2XONLINE September 16th 2010, 1:17 am

ur so kind sir!!!!

thank you so much!
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Sanket September 16th 2010, 8:47 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.
drop down menu not working... 2j4t5a8

Sanket Smile

Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum