Jump-menu In IE
Mar 23, 2007I have created a small javascript jump menu that is designed to hide/display content depending on the users selection. It works perfectly in firefox, but nothing happens in IE. Code:
View 3 RepliesI have created a small javascript jump menu that is designed to hide/display content depending on the users selection. It works perfectly in firefox, but nothing happens in IE. Code:
View 3 RepliesI have this code which works well, but rather than buttons (title 1, title 2), I want to achieve the same description change using a jump menu. I'm pulling my hair out trying to work it out and i'm sure it's simple. Code:
View 3 Replies View RelatedI have the jump menu (used with an html form):
<script language="javascript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
How can i add rel=nofollow?
I have a jump menu on my page and it works fine, but I want the selections in the menu to open in a new browser window. How do I do that?
<script>
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<form name="form1" method="post" action="">
<div align="right"><select name="form1" class="box" onChange="MM_jumpMenu('parent',this,0)">
<option value=http://www.1stoption.com>-- Option 1</option>
<option value=http://www.2ndoption.com>-- Option 2</option>
</select>
</div>
</form>
However, I want to create a demo for people where if they pull down the first value, the script does what it has to do
however, if they choose any other option (choice b,c,d,e etc)
there is a jump link like feature where a link opens a new window asking them to buy
How do i program this pulldown to recognize what values need to link to another page?
I use the select menu script from [URL].. in Firefox all works fine. But when I use it in google chrome the focus off the site changes to the end of the site. My menu has 200 entrys. How can I provide the change of the focus?
View 2 Replies View RelatedI need a jump menu, that when an item is selected the next jump menu pops up with more selections to be made. Is this possible?
View 8 Replies View RelatedI'm creating different pages on a website for each branch in the country for a business. The way the user gets to their branch is through a dreamweaver generated jump menu.My question is: Will search engine robots crawl the pages that are linked via the jump menu?So for example the page for the London branch can only be navigated to via the jump menu (or typing in the url in the address bar). Will a search engine index this page?The jump menu script is below:
<script type="text/javascript">
<!--
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
[code]....
I was just wondering if there is a jscript code to jump to the middle (or where my content is) of the page if i click on the link on the same page. if not how would you do it anyways?
View 4 Replies View RelatedOn my site I have a switch and JQuery fade in fade out when I click on 'Updates' or 'Projects'. Problem is that if I have scrolled down the page a little before clicking one of them, the page jumps back to top on clicking these options. I would like to eliminate that jump to the top.
[URL]
I need to find the code that makes a web page immediately jump over to another url the moment a visitor arrives to it. I know the code is short, but I can't remember it. Anybody know what that code is?
View 3 Replies View RelatedI'm trying to get my form to jump to the necessary URL. The form is mixed with PHP, HTML and has some JS and AJax in there as well.In its simplest form - This is all in a while loop INDEX.PHP
[code]...
I have this (nice) procedure to move a table row:
Code:
function MoveRow(tbl,i,j) {
tbl = document.getElementById(tbl);
[code].....
I currently have a script to jump to an anchor tag when the page loads:
<script type="text/javascript">
function goToAnchor() {
location.href = "myPage.html#myAnchor";
}
</script>
Now, I would like to take it a step further and would like to link from page A to page B that usually takes a while to load and once the page loads, run a script to jump to the specified anchor tag on the page after everything has loaded. I know I have to add some parameters at the end of the url link on page A, but that's where I get stuck.
Is there anyway to use Javascript (or other code) so that if you've arrived at a web page on your site via google (and there is alot of text on the screen) the javascript will scroll automatically to the searched terms?Is there anyway to use Javascript (or other code) so that if you've arrived at a web page on your site via google (and there is alot of text on the screen) the javascript will scroll automatically to the searched terms?
View 1 Replies View RelatedI am using the folloeing dropdown list code on my site and have found that it doesnt work properly in IE. Sometimes it works.... Sometimes it doesnt 'jump to page'
PHP Code:
If you have a look at [URL].. and click on an image you will see what I mean.It's as if the image is converted to a div while animating.
View 1 Replies View Relatedif i have a large script built multi-select-list-box, is there a way within javascript to onClick of a hyperlink, jump-to the line within the select box that corresponds to the value clicked?
View 5 Replies View RelatedI am having trouble with the Form Validation I have on my wifes website...everything is working how it should it's just when you hit the submit button the screen jumps up about an inch or so putting the error message out of view....Is there anything that can be done to stop...
View 8 Replies View RelatedI am creating a dropdown menu for my site because I have run out of space for a nav bar, what I would love to do is create a dropdown list that when an option is selected will jump to a specific URL.
View 2 Replies View RelatedI have a hidden iFrame (display:none) which I change the src attribute of to load new contents. When the iFrame has finished loading I make it visible again (display:inline). This works fine except for anchors. The iFrame will not jump to an anchor when finished loading if its hidden in FF.
View 2 Replies View RelatedI believe I'm having an issue with the jQuery Cycle plugin. For the duration of the occurrence of a transition, the page appears to be "jumping" due to the fact that the site content is centered vertically and horizontally and the transition is making (inactive) scrollbars disappear entirely. I have not witnessed this personally in Safari/Firefox on Mac or Firefox/IE8 on Windows, but a colleague took a video of it happening on their machine with Firefox (Mac). Some see this problem, and others don't—I haven't been able to narrow it down. I also can't put overflow:hidden; on <body>, as I need the site to scroll if the browser window is too small.Here's the video, it's a 1.8 MB QuickTime file:[URL]
View 1 Replies View Relatedi have designed a page that uses a jquery script in a div in the middle of the page (below the logo and upper nav) Every time I click
on a button that is part of the script, the page jumps down to the top of that jquery div. I want the page to stay rooted to the top. I can't tell whether this is a problem with the css or the js script.[URL]
~ script css:
* { margin: 0; padding: 0; }
#page-wrap {
width: 822px;
[code]....
Have a drupal site and jquery update1.3. seems to avoid the posiblity to jump to anchor tags. In order to this I use this script for jumping on a page. I works..But how to I manage a jump, if the href is on a different page (not external!).Something like jump on pageload to an anchor.click on page node/5/products on link href: node/5/products/xyz/#anchor1 How do I manage this?
$(document).ready(function(){
$a[href*=#]").click(function(e){
$
[code]....
I am displaying a webpage from external domain in an iframe on my site. The webpage being shown in iframe has a header image that I would like to not appear when someone visits my site. Is it possible using Javascript or otherwise to have the iframe scrolled down by a certain pixels by default?
View 2 Replies View RelatedI need to jump to different pages based on user input in current form. I had tried using javascript to jump, it worked for a second or two, then it jump back to the calling form. Here are the methods I used:
url is the intented url, e.g. "form2.htm"
1. from form "form1":
document.forms["form1"].action = url;
[code].....