drop down menu not working...
2 posters
Page 1 of 1
drop down menu not working...
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 -_-
my codes:
my html page:
i just highlighted the page
if u want to see it, go to my site: my site
but when im just previewing the page in HTML management, its working -_-
my codes:
- Spoiler:
- black
ACTION="../cgi-bin/redirect.pl"
METHOD=POST onSubmit="return dropdown(this.gourl)">
Choose your destination...ForumPortalRegister in the site now!
"Drop down menu is not working properly for now so don't use it, I will tell you guys if it works already. Thanks"
"OR IF YOU WANT TO GO IN PORTAL NOW, CLICK THE IMAGE BELOW."
my html page:
i just highlighted the page
if u want to see it, go to my site: my site
Re: drop down menu not working...
Can you give me the code, or do you want me to make a new one for you?
Guest- Guest
Re: drop down menu not working...
Good xD just give me some time :=O
Edit:
Try this in your html page:
Put these codes in the <head> tag:
Put this in the <body> tag:
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-->
Guest- Guest
Re: drop down menu not working...
Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» "Jump To" drop menu not working
» drop down menu stopped working
» (CSS) Drop-down menu
» Drop down menu
» Drop Down Menu
» drop down menu stopped working
» (CSS) Drop-down menu
» Drop down menu
» Drop Down Menu
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum