Jump menu to anchor created by javascript
I have a page that shows sample images from a client's book
using a javascript gallery found at this site
http://www.couloir.org/js_slideshow/
It works great. The script advances the pages by using
Element.setHref(this.prevLink, "#" + (photoId+1)); so that when
next or previous is clicked, it creates a link at the top like
www.mypage.com/book.htm#2 www.mypage.com/book.htm#3 etc.
My client however would also like a list of the pages
available from a menu so the viewer can jump to any page at any
time. I've created a jump menu with the links for each of the 37
pages. However, when selected, the url appears in the top address
bar, but the page will not jump unless I hit Enter on the keyboard.
I've tried using a Go button, and same thing.
Any other external link will function from teh menu fine, so
I think it has something to do with the fact that these # pages
aren't really anchors on the same page, beacuse the javascript
creates them. But since they do work when I hit Enter, I'm
wondering if there is a way I can get the menu to load them.
Any suggestions would be appreciated. The sample I'm working
on is at
http://www.personalbestseminars.com/reframeyourblame/view_inside/index.htm
Thanks!
Hi Lucas
Answering the questions :
1. You are referring to auto scroll position , where the users while scrolling should stop at a fixed position on page thus jumping to anchor position as you have mentioned, something like this :
http://www.apple.com/iphone-5s/. Unfortunately the exact effect cannot be achieved in Muse but anchor to fixed page position and scroll can be setup.
2. You can try applying scroll to the items , for example insert the squares in some container so that they are grouped and then apply scroll to container with no left/right movement , this would fix the position of container on page irrespective of other page elements and page movement.
3. You can apply opacity with scroll to images , so that when users scroll the page Opacity will change, thus with scroll the image will get better.
Thanks,
Sanjit
Similar Messages
-
Making a javascript jump menu post the parameter value to a jsp
I have got a HTML page with a javascript jump menu on it which is intended to post the user selected parameter to a jsp. However I do not know how to get the jump menu to post the data in the same way that it is done with a submit button. I don't want to use a submit button, hence the jump menu. Does anyone have an example that they can let me use.
function jumpPage(form) {
i = form.SelectMenu.selectedIndex;
if (i == 0) return;
window.location.href = url[i+1];
document.writeln('<FORM><SELECT NAME="SelectMenu" onChange="jumpPage(this.form)">');
This bit of Javascript just opens the selected window but submits no data to it.
Any help is greatly appreciated.In order to get your data passed through to your second page via parameters, you must do one of two things.
1) Actually submit the document. Since you don't want a submit button, you can accomplish this with document.form.submit(). However, you must specify a URL in the "action" attribute of your form tag.
2) Construct the URL with the parameters listed in it. (ie. myJSP.jps?user=foo&password=bar ). This is not too bad if you've only got a few parameters... rather tedious for more than a few.
What situation are you in where there are multiple parameters to pass with a Quick Jump setup? Usually, all you need to do is determine which page they need to head to, and simply forward. If there are other fields in your form, an automatically forwarding Quick Jump is potentially problematic, since they could select that field before filling out other necessary fields... just something to think about. -
How to create a jump menu within an existing nav bar that's created with a table
Hi there,
I have created a basic navigation bar inside a table that's
nested within an AP Div. I want to create a few sub-menus under one
of the tabs so I need to insert a pull down jump menu for one of
the cells within the table. How do I do this?
Thanks for any help!Using the Spry menu can get you started, click on "spry menu
bar". Or if you have fireworks you can easily make a pop up menu
there -
Hello,
Is there a way I can add an anchor point like you can on a webpage into an Adobe document? I'm not sure if anchor point is the right word, jump menu maybe? For example if they click on A it will jump to the A section at the top of the page. I am using Adobe Creative Suite 5.
Thank you.It can easily be done with the link tool.
Alternately, you can use bookmarks.
Both require Acrobat. -
Jump menu creates blank page that is a specific size
I am attaching the code that worked for the jump menu to open
in another window but I cant figure out how to get the page to be a
specific size (w=600 h=650) and have no resizing or toolbars. Can
you suggest what is wrong or missing with the code?
<script type="text/javascript">
<!--
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
var selObj = null; with (document) {
if (getElementById) selObj = getElementById(objId);
if (selObj)
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0; }
//-->
</script>
<form name="form" id="form">
<select name="portfolio" id="portfolio">
<option>Categories</option>
<option
value="advertising.html*_blank">Advertising</option>
<option value="corpid.html*_blank">Corporate
Identity</option>
<option
value="publishing.html*_blank">Publishing</option>
<option
value="websites.html*_blank">Websites</option>
<option
value="misc.html*_blank">Miscellaneous</option>
</select>
<input type="button" name="go_button" id= "go_button"
value="Go" onclick="MM_jumpMenuGo('portfolio','blank',0)" />
</form>Hello,
Any help on this issue is highly appreciated.
Regards,
Anup N. -
DW CS4 Help with jump menu opening a new window.
First, I can't believe that Adobe left out an easy to use behavior to do this.
I have some jump menus, and I would like the selection to open up a new window and have the content appear there. I saw a couple of old topics here that offered some suggestions, but they didn't work for me. I could get it to open a new window, but the content was not there. I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it. That is what opened the new window with new content. I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work. If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
I know this is long, but here is my code for the page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Mickey Adams Index</title>
<!-- InstanceEndEditable -->
<link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="../CSS/global.css" rel="stylesheet" type="text/css" />
<!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
<!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
</head>
<body text="#000033" class="twoColFixLtHdr" title="What's New">
<div id="container">
<div id="header">
<h1>Richard Sinkler</h1>
<!-- end #header --></div>
<div id="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="../index.html">Home</a> </li>
<li><a href="../About_Me.html">About me</a></li>
<li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
<li><a href="../What's New.html">What's New</a></li>
<li><a href="../Equipment.html">Equipment</a></li>
<li><a href="../Tunings.html">Tunings</a></li>
<li><a href="../Video_and_Sound/video_menu.html">Sound & Video</a></li>
<li><a href="../web_gallery.html">Photos</a></li>
<li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
<li><a href="../Website_Info.html">Website Info</a></li>
<li><a href="../Contact Me.html">Contact Me</a></li>
</ul>
<p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
<p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
<h3 class="updated">Updated 7/18/2011
<!-- end #sidebar1 -->
</h3>
<p> </p>
</div>
<div id="mainContent">
<h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
<!-- InstanceBeginEditable name="PageContent" -->
<p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
<div id="m_a_video_index" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">BE</li>
<li class="TabbedPanelsTab" tabindex="0">BEX</li>
<li class="TabbedPanelsTab" tabindex="0">BEC</li>
<li class="TabbedPanelsTab" tabindex="0">Beginner</li>
<li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
<li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
<p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to Master</u> <br />
<strong><u>BE04</u></strong><u>: Simple E9 Passage, Single Note</u> <br />
<strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC Pedals</u> <br />
<strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
<u>BE 109a Close Intervals in C</u><br />
<strong><u>BE11</u></strong><u>: Beginner Steel Guitar, Cold Cold Heart</u> <br />
<strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
<strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
<strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
<strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
<strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
<strong><u>BE34</u></strong><u>: 3 Moves to Master, Part II</u> <br />
<strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
<strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for Cherokee Maiden</u></p>
<p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
</div>
<div class="TabbedPanelsContent">
<p><strong><u>BEX1</u></strong><u>: A+B Repetitious Excercise, Major Key</u> <br />
<strong><u>BEX2</u></strong><u> Pick Blocking Dexterity Excercise II</u> <br />
<strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise B+C, F</u> <br />
<strong><u>BEX7</u></strong><u> Speedpicking Lesson 1 Revision 1</u> <br />
<strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal Changes, Chord Forms</u> <br />
<strong><u>BEX14</u></strong><u>: D7, G Lever Programming, Speed</u> <br />
<strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
<strong><u>BEX16a</u></strong><u> G major Descending Exercise</u> <br />
<strong><u>BEX17</u></strong><u>: Pick-Blocking 101, Beginner Steel Guitar</u> <br />
<strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
<strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
<strong><u>BEX21</u></strong><u> Alternating Fingering Excercise</u> <br />
<strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
<strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
<strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
<strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
<strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
<strong><u>BEX28</u></strong><u> Pedal & Lever Excercises for Beginners</u> <br />
<strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
<strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever I, Pedal H</u></p>
</div>
<div class="TabbedPanelsContent">BEC
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 1</div>
<div class="AccordionPanelContent">
<p><u>BEC4: Blue Eyes Elton John</u> <br />
<u>BEC6 Broken Wing</u> <br />
<u>BEC15: Goin Through the Big "D"</u> <br />
<u>BEC25: I Sang Dixie, Take II</u> <br />
<u>BEC31: Beginner Steel-Longer, Fogelberg</u> <br />
<u>BEC32: Longer, Flute Solo, Fogelberg</u> <br />
<u>BEC35: Nobody In His Right Mind</u> <br />
<u>BEC41: Too Cold At Home Intro, Mark Chestnutt</u> <br />
<u>BEC45: Teach Your Children: Intro</u> <br />
<u>BEC48: Take Your Memory With You</u> <br />
<u>BEC52 Thinking Thing Intro</u> <br />
<u>BEC54: What A Wonderful World</u> <br />
<u>BEC66: Solo, Look At Us</u> <br />
<u>BEC69: Somewhere Over The Rainbow, Bridge</u> <br />
<u>BEC73: Empty Glass Intro</u> <br />
<u>BEC77: Set-em Up Joe Vern Gosdin</u> <br />
<u>BEC78- So Much It Hurts Me Part 1</u> <br />
<u>BEC78a So Much It Hurts Me Part 2</u> <br />
<u>BEC81, Who Needs You Baby, Clay Walker</u> <br />
<u>BEC82 City Lights</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 2</div>
<div class="AccordionPanelContent">
<p><u>BEC83 Save The Honky Tonks, Mark Chestnutt</u> <br />
<u>BEC84 Faux C6, Deep Water Intro, Beginners</u> <br />
<u>BEC85 There's your Trouble Intro</u> <br />
<u>BEC86 Panama Red Intro, Remake</u> <br />
<u>BEC88 Diamond Rio One More Day Intro</u> <br />
<u>BEC89 Turnaround In C</u> <br />
<u>BEC89 Oh Little Town of Bethlehem</u> <br />
<u>BEC90 I Had A Beautiful Time, Solo</u> <br />
<u>BEC91 White Christmas</u> <br />
<u>BEC91a White Christmas</u> <br />
<u>BEC91c White Xmas, Improvising</u> <br />
<u>BEC92 Farewell Party Intro Simplified</u> <br />
BEC 92a Farewell Party Solo, Mike Johnson<br />
<u>BEC93-This Ain’t My First Rodeo-Intro</u> <br />
<u>BEC-94 Third Rate Romance Solo</u> <br />
<u>BEC-95 Crazy Arms Intro, Patty Loveless</u> <br />
<u>BEC-96 Bar Room Roses Intro Troy Cassar Daley</u> <br />
<u>BEC-97 Close Up the Honky Tonks-Intro</u> <br />
<u>BEC98-Turnaround 5-1, BC,+E-lever</u> <br />
<u>BEC-99 Single Note Run in D</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 3</div>
<div class="AccordionPanelContent">
<p><u>BEC 100 Different Light Doug Stone Intro E9</u> <br />
<u>BEC 100 When Love Comes Around Intro Alan</u> <br />
<u>BEC 100 Take It Easy</u> <br />
<u>BEC101 Fourteen Minutes Old Intro Doug Stone</u> <br />
<u>BEC101 Bars Of Steel Bridge</u> <br />
BEC 101 Beneath Still Waters<br />
<u>BEC 102 Could I Have This Dance Intro</u> <br />
<u>BEC 103 Bars of Steel, Bridge</u> <br />
<u>BEC 106 Legend In My Time</u> <br />
<u>BEC107 When Did You Stop Loving Me Intro</u> <br />
<u>BEC 109 Getting Over You Again Intro Gene Watson</u> <br />
<u>BEC 110 Baby Thats Cold Intro</u> <br />
<u>BEC 111 Panama Red Solo Part 1</u> <br />
<u>BEC 111a Panama Red Solo, Part II</u> <br />
<u>BEC 111 Where Have I Been All My Life Intro</u> <br />
<u>BEC-112 Help Me Make it Through the Night.mpg</u> <br />
<u>BEC-118 Faux C6-1-6-2-5.mpg</u> <br />
<u>BEC-113 Way To Survive, Lesson 1.mpg</u> <br />
<u>BEC113a Way to Survive Lesson 2.mpg</u></p>
</div>
</div>
</div>
</div>
<div class="TabbedPanelsContent">
<p><u>Beginner Steel Guitar, Cmajor in 3rds</u> <br />
<u>Beginner Pedal Steel, Cross Picking, B Pedal</u> <br />
<u>Beginner Steel Guitar: San Antonio Rose</u> <br />
<u>Beginner Steel Guitar: Wonderful Tonight</u> <br />
<u>Beginner Steel Guitar: Oceanfront Property</u> <br />
<u>Beginner Steel-When you Say Nothing At All</u> <br />
<u>Memphis Tennessee, Beginner Steel Guitar</u> <br />
<u>Beginner Steel Guitar, Major Scale Excercise</u> <br />
<u>Beginner Steel, Amazing Grace</u></p>
</div>
<div class="TabbedPanelsContent">
<p><u>Walking After Midnight Faux C6</u> <br />
<u>All My Ex's Intro Faux C6 for the E9 Neck</u> <br />
<u>Faux C6 Turnaround in A</u> <br />
<u>5 1 Faux C6, Single note Passage</u></p>
</div>
<div class="TabbedPanelsContent">
<div id="Accordion2" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 1</div>
<div class="AccordionPanelContent">
<p><u>Simple Intro in C</u> <br />
<u>Panama Red Intro E9 Pedal Steel Guitar</u> <br />
<u>Danny Boy, E9</u> <br />
<u>Highway 40 Blues Intro, E9</u> <br />
<u>Diatonic Scale Movement In G</u> <br />
<u>1-7-4 1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
<u>1-4 Counterpoint Move in F, Very Effective</u> <br />
<u>Gene Watson Intro-Got No Reason Now for Going</u> <br />
<u>BIG CITY! Merle Haggard, Simple, Straightforward</u> <br />
<u>Someday Soon!..Simple, Great Solo!</u> <br />
<u>Texas Tornado, Tracy Lawrence, Intro and Solo</u> <br />
<u>Pick Dragging: Technique, Short Clip</u> <br />
<u>Key-A Turnaround, Blues/Diminished Walk</u> <br />
<u>Hello Trouble-JayDee Maness/ Desert Rose-</u> <br />
<u>Memories To Burn, Solo, Gene Watson</u> <br />
<u>When I Call Your Name</u> <br />
<u>Cross My Heart Solo, George Strait</u> <br />
<u>But For the Grace of God, Keith Urban</u> <br />
<u>I Never Go Around Mirrors, Gene</u> <br />
<u>Cryin My Heart Out, Ricky Skaggs</u> <br />
<u>Lonesome LA Cowboy Solo, Buddy Cage</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 2</div>
<div class="AccordionPanelContent">
<p><u>Teach Your Children:Quick Solo</u> <br />
<u>1982 Intro:Randy Travis</u> <br />
<u>Check Yes or No</u> <br />
<u>Fire On The Mountain, Marshall Tucker</u> <br />
<u>Buds Bounce, Simplified, Part 1</u> <br />
<u>Tonight The Heartache's On Me, Solo, Dixie Chicks</u> <br />
<u>Heartbroke, Steel Chords</u> <br />
<u>Funny How Time Slips Away</u> <br />
<u>Bars of Steel</u> <br />
<u>Blue, Leann Rimes</u> <br />
<u>Supernaw-Wishing Her well, Intro</u> <br />
<u>Look At Us, Johny Hughey, Intro</u> <br />
<u>Over The Rainbow Verse</u> <br />
<u>Discussion, Right Hand</u> <br />
<u>Verse, Help Me Make It Through The Night</u> <br />
<u>Rolling Pick Technique 2-5-1</u> <br />
<u>3 Octave Descending D7 Single Note Run</u> <br />
<u>Descending 5-1 Turnaround in A</u> <br />
<u>Pick Blocking Dexterity Excercise 1</u> <br />
<u>Alone In SanAntone</u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
var Accordion2 = new Spry.Widget.Accordion("Accordion2");
//-->
</script>
<!-- InstanceEndEditable -->
<h2>
<!-- end #mainContent -->
</h2>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="clear"></div>
<div id="footer">
<p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a> <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
<p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">©</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
<p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>I'm confused by your post and code. Adobe has a function to do this. In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu. The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now). But with basic knowledge of links you insert the menu and you will get code like:
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
The "parent" denotes that this will open in the same window. If you change that to "blank" then it will open in a new window. A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
http://www.w3schools.com/tags/att_a_target.asp -
Using jump menu in one frame to open page in another frame - works in IE but not Firefox
Hi,
I'm a beginner designer. I've been working to create a template for a website in which there is a banner in a frame across the top and three frames beneath - left for navigation and middle and right for content that can be compared.
I have created two jump menus in the left frame using Dreamweaver's option for it (insert/forms/jump menu): one menu to load pages in the middle frame (in the code this is 'left') and one menu to load pages in the right frame (in the code this is 'right'). Both menus use a go button.
Using Internet Explorer and allowing active content to run it works fine. In Firefox clicking 'go' does nothing however I have links in this navigation that will open a page in the middle or right ('left' and 'right') frames and if I use these the jump menus will now work.
How can I get it to work straight off?
Any feedback is welcome (except regarding not using frames!).
Ian
Code for this navigation page is below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
var selObj = null; with (document) {
if (getElementById) selObj = getElementById(objId);
if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0; }
//-->
</script>
</head>
<body>
<h1>Navigation</h1>
<p><a href="../Something/Pages_One/Alabama.html" target="left">Example</a></p>
<p><a href="Left Frame 01.html" target="left">Left Frame 1</a></p>
<p><a href="Left Frame 02.html" target="left">Left Frame 2</a></p>
<p><a href="Right Frame 01.html" target="right">Right Frame 1</a></p>
<p><a href="Right Frame 02.html" target="right">Right Frame 2</a></p>
<p>Select a page to view in the left frame</p>
<form name="form" id="form">
<select name="jumpMenu" id="jumpMenu">
<option value="Left Frame 01.html">Left frame 01</option>
<option value="Left Frame 02.html">Left frame 02</option>
<option value="Left Frame 03.html">Left frame 03</option>
</select>
<input type="button" name="go_button" id= "go_button" value="Go" onclick="MM_jumpMenuGo('jumpMenu','parent.frames[\'left\']',0)" />
</form>
<p>Select a page to view in the right frame</p>
<form name="form2" id="form2">
<select name="jumpMenu2" id="jumpMenu2">
<option value="Right Frame 01.html">Right frame 01</option>
<option value="Right Frame 02.html">Right frame 02</option>
<option value="Right Frame 03.html">Right frame 03</option>
</select>
<input type="button" name="go_button2" id= "go_button2" value="Go" onclick="MM_jumpMenuGo('jumpMenu2','parent.frames[\'right\']',0)" />
</form>
<p> </p>
</body>
</html>Geronimo23 wrote:
Given that it doesn't work initially in Firefox then it does once I load a page in the destination frame I decided to create a page with a link to the frameset. Using the link to get to the frameset the jump menu now works perfectly. Must be one of the wonders of using frames. Well I guess that's solved but out of curiosity, any ideas for why it wouldn't work when the frameset is loaded on its own?
It might be due to the fact that you're using XHTML 1.0 Transitional, a DOCTYPE that does not support framesets. Try converting to HTML 4.01 Transitional or HTML 4.01 Frameset if you do not need or understand XHTML. Or use XHTML 1.0 Frameset if you really need XHTML.
Refs: http://www.w3.org/TR/html401/present/frames.html ; http://www.w3.org/TR/xhtml1/#h-A1 ; http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset
Mark A. Boyd
Keep-On-Learnin' :-) -
How to setup a dynamic jump menu field
I attempted to setup a normal drop down with a button to
excute the values,
but that doesnt seem to work very well... even though the
database has the
correct links within the tables, regardless of what selection
you make you
are taken to the same page all the time.
Is there a way to use the jump menu dynamically? I want the
menu to be
populated from my table, i dont want to have to manually
build the menu....
When i try to use it, it doesnt have the dynamic radio button
to chose a
recordset.. its all manual entryMan that took a long time to come back with?
But this should work for you.
Add a standard List Box to your page. Click 'List Values' in
your Property
inspector at the bottom of the page. Click the 'lightning
bolt' to add the
labels that you want to display from your recordset, and then
click the
'lightning bolt' in the values column. Choose the recordset
and the field
that contains the ID you want to pass to the detail page. Now
click ok, and
Dreamweaver will have put some code in the value column for
you. You need
to add a
prefix to this that will tell it what page and the name of
the URL parameter
you want to pass.
ie
mydetailpage.asp?ID=<%=the code Dreamweaver Created%>
Ok so you now have the correct values in the list box.
Now open up a second page, and add a Jump Menu to it. Just
add one item
containing anything.
Go to the code view and copy into the clipboard the
JavaScript code that
Dreamweaver created to make the JumpMenu work. Make sure that
you get
everything
including the <script> tags.
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
some more code here!!!
//-->
</script>
Paste this into a similar place on your other document. (just
above the
</head> tag).
All you need to do now is modify the List Menu you created to
use the Jump
Menu code.
You will have something that says:
<select name="select">
Change this to:
<select name="select"
onChange="MM_jumpMenu('parent',this,0)">
That should do it!!!
Dave
"Daniel" <[email protected]> wrote in message
news:[email protected]...
> DWMX / ASP / SQL
>
>
> "Baxter" <baxter(remove:-)@gtlakes.com> wrote in
message
> news:[email protected]...
> > What server language are you using?
> > Dave
> > "Daniel" <[email protected]> wrote in
message
> > news:[email protected]...
> >> I attempted to setup a normal drop down with a
button to excute the
> > values,
> >> but that doesnt seem to work very well... even
though the database has
> >> the
> >> correct links within the tables, regardless of
what selection you make
> >> you
> >> are taken to the same page all the time.
> >>
> >> Is there a way to use the jump menu
dynamically? I want the menu to be
> >> populated from my table, i dont want to have to
manually build the
> > menu....
> >>
> >> When i try to use it, it doesnt have the
dynamic radio button to chose
a
> >> recordset.. its all manual entry
> >>
> >>
> >
> >
>
> -
Jump Menu & Lis/Menu & User accounts
Hello and good morning everyone,
1. Jump menu
- I created simple exaplme to help you understand my issue http://wook.sytes.net
- I've set jump menu with button so I could choose from drop down list a product and then, when apropiate product is selected, it should go to URL address (for exaplme payment website with paypal button), there is submit button which also should post a form to me with all the details from the form (in exaplme is just jump menu) all is fine when there is no action on the button but unfortunately, with action - submit form, I receive the form but it's not going to the URL from the jump menu.
2. List Menu
- how to create list menu which would be apper according to the selection of the prevoius list menu
- for exaplme if I select from the first list as a operating system windows on the next list should apper: XP, Vista, 7 and the if I select on the first list Linux on the next one should be Fedora, CentOS ect.
3. User account
- is it possible to create user accounts in dreamweaver and give access to the folders on the server via FTP, can I use Data options in dreamweaver to achive this?
RegardsF1 > Search for "anchor"
"jake2727" <[email protected]> wrote in
message
news:enerc2$l1u$[email protected]..
>I am having a problem using a jump menu to move the user
to another
>location on
> the page. For example, say a particular 'membership
type' was selected, i
> want
> the jump menu to send the user to be sent to the
location of these details
> on
> the same page. I understand how to do this using an href
link, but not
> within a
> jump menu, e.g. <option selected="www...."
>
> Any help greatly appreciated.
> -
Changing the appearance of a jump menu?
Hey,
I'm creating a jump menu using this short guide http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-7c1ca .html
And would like to create something like the quick mock-up I have done here:
I've seen a similar thing done on The Graphic Thought Facility's portfolio (http://www.graphicthoughtfacility.com/home/)
When Googling for a solution I only came across tutorials such as this one (http://blogs.techrepublic.com.com/howdoi/?p=174) but it only edits the colour of different parts of the jump menus, rather than the actual style of the jump menu itself.
Is this way out of my depth, or is there a tutorial or guide that I can use or buy telling me exactly how to do this? I can only create basic html websites and want to use this jump menu to create a portfolio for my photography and artwork; unfortunately I don't currently have the time to learn to code from the start.
Any help would be greatly appreciated,
Thanks.What you're trying to achieve cannot be done by simply styling a jump menu.
The GTF portfolio example you provided uses the jScrollPane plugin for jQuery
<script src="/media/scripts/jScrollPane.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="/media/css/jScrollPane.css" type="text/css" media="screen" title="no title" charset="utf-8">
http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
"jScrollPane is a jquery plugin which allows you to replace the browsers default vertical scrollbars on any block level element with an overflow:auto style."
The advantage of using jQuery is that you don't need to learn Javascript from scratch. Just follow the instructions carefully to join the required pieces of code together to get it working. -
I need to modify my website and I used a Spry menu to direct users to specific pages. This is no longer supported with the 2014 version and thought a Jump Menu would work, but it is not on the insert/form menu as instructed in help files. Any ideas?
Jump Menus still exist in CC, they're just created differently than they used to be. For some reason I can't figure out, they've been a bit buried...
1. Click in Design View where you want the Select Menu to appear
2. Go to Insert > Form > Select
3. Click on the Select Menu created in Design View
4. Click the + in the Behaviors Window and choose Jump Menu
From there, you should get the familiar Jump Menu dialogue box. -
Hello good samaritans.. I need help.. The jump menu in my web
page is not working.
I already tried inserting a Go button but it still didnt
work. I have a website and I
created a template, in this template I created dummy jumpmenu
first just to see
how it looks like then after creating a whole bunch of pages
from the template I decided
to connect all the webpages by fixing the jump menu. But now
its not working!!!
What I did is that in the 'when selected, go to url:' window
I just browse the web pagefile then click ok but when I try
to run it in the
internet it's not working.
Also, just for your info, I Haven;t publish it yet. Will be
the reason why?
I just kept all my files on my c drive.
Thanks a lot!!Let me be clear -
What is the path to the local root folder.
Open DW's Site manager. Select the sitename. Click Edit.
Click on the
Advanced tab. Copy the contents of the Local root folder
field and paste it
into a reply.
Now - don't make me ask you this again, or it's no supper for
you, young
man/lady!
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"teamse" <[email protected]> wrote in
message
news:ebg9ss$pqd$[email protected]..
> Thanks Gary for replying. Can you explain it a little bt
mrore I don't
> understand it completely..=) Yes after I finish the
website we will then
> publish it on a server but for now I haven''t publish it
so it still
> sitting on
> my c:drive. when you say get rid of the blanks in file?
what do you mean,
> is it
> when typing the ffile address in dw? because when I
browse it and click
> the
> file dw automatically create a link like this"../BMB
Webpages/Boulder
> Webpages/B_ConferenceRooms.html"
> and it doesnt have any balanks but it still not working
' or you mean to
> say
> when saving a webpage to my c drive? thanks
> -
Hello to everyone in the community.
I have a problem for the jump menu.
My problem is the following:
When I click on the value of I he opens the menu page it returns the correct value most of the menu to the first position.
I wonder how can the value that was chosen in the menu.
It is possible to develop
The following script below
<script type="text/javascript">
function MM_jumpMenu(targ,selObj,restore)
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"' ");
if (restore) selObj.selectedIndex=0;
</script>
Note: this menu is jumping into a separate php file, there on the pages where you use the jump menu I made a call to include the file.
Thank you all hope to have a quick return.
God bless you all
Rodrigo Vieira da Silva Eufrasio
Brazil - Sao Paulo - Osasco
55 11 6691-5299
GMAIL: rodrigo.mct @ gmail.comUnless your jump menu is in a parent region of a template and you CANNOT edit it in child pages, why not just go to the select tag (jump menu) of your code on each page and for the apporpriate page, simply put select="selected" in the <option> tag for that page?
It may be more work but it will certainly be easier than trying to have a javascript figure out which page someone goes to, especially if they use the jump menu to jump around to several pages in the site. -
How can I center a 'Jump Menu' on the page?
Help!
I have created a 'Jump Menu' to serve as the navigation for my website.
However, I cannot seem to center it on my page?!
Does the Jump Menu need to be contained within a div tag, in order for me position it precisely? At the moment it is contained within a 'Form' (I think), and not a div tag.
I have attached a relevant screengrab.
When I do try and center a div, I set the margins to auto in the CSS correct? e.g margin: 0 auto;
This does not always seem to work, am I doing something wrong? Sorry, I am very new to this.
Many thanks in advance,
JPresumably you have some space on the web where you plan this website to finally be viewed by everyone?
Upload your broken page there and give us the website address. -
Dynamic Jump Menu Problem in CS3
I'm trying to create a link in a Jump Menu to a Detail Page.php by setting the parameters in the menu item to match a value in a recordset. When selected from the menu, a new page should open with a subset of the original php page. So far I haven't found a method to transfer a value in the menu to a url parameter which can be used by the target php page. Any suggestions appreciated.
Regards to the ListNevermind. I was over-thinking the problem and adding dynamic parameters, when a simple solution was all that was required.
Regards to the list.
Maybe you are looking for
-
Z77A-GD65 ram and DR. mos problem after 2 years without any HW change or OC!
Hi guys, i have three Z77A-GD65 from 2 years with the same hardware config, no overclock or others OC settings ....simply default bios settings; in this last 2 months, not at the same time, all of my 3 mainboards have the same identical problem. On
-
hello every one, i have a little problem with my app, I want to let the user a share option and i want to share a image via my app (share on message, Email, facebook..) and for doing this i used this code, but it doesn't share the image. private as
-
Lcp file has different exif info
I'm aware of the problems with LensID and the Nikon D7000. I created a series of profiles for the DX 18-135 3.5/5.6 lens and Nikon D7000 body and corrected all of the LensID's appropriately. I manually edited the profiles together and the combined
-
Sales order stock not showing in stock overview(MMBE)
Hi, I have a MTO scenario where against the sales order production order has been created. Production order has been delivered & the material document showing 101E movement type. After that the material has been transfered to another storage location
-
Photoshop CS5: Can't drag or move anything with the mouse
I'm having a very strange issue with Photoshop CS5 (both 32-bit and 64-bit) When I go to draw anything or move anything, the canvas does not respond to mouse events at all. Right clicking doesn't work, dragging edges of the free transform box doesn'