Jump menu list order
I am really please with the jump menu I created. I have a list of dates over six
years that link to documents for that date. The problem is, the oldest date shows in the page list instead of the most current. Is there any way to change that to show the most current date in the window first rather than the ancient date? other than remaking the whole thing backwards? Thanks in advance for your kind help.
Thank you Nancy O. That was really helpful. In my CS4, I had to click an arrow down in properties and clic
k what I wanted "initially selected". I would'nt have looked for that without your message. Thank you very much. All done.
Similar Messages
-
Convert menu list to alphabetical or numbered (ordered) menu
I'm working with a catalog site with a flyout navigation menu. Things have been entered in the order they appear in the catalog. Is there an easy way to sort these listing alphabetically and numerically? I know about the up and down arrows but was hoping there was a quicker way.
Once the items are in the menu list, I am unaware of a quick and easy way to sort them (or rearrange them) other than the up and down arrows.
You could, of course, go into Code View and drag the list items around physically in code, but I am not aware of any kind of "automatic" list re-ordering system.
If your menus are quite extensive, and you don't want to do the sort 'one at a time,' you could copy each list (in code view) to a separate file, put it in a table, and sort it there in Design View. You could probably work out "find and replace" combos that would make the translation from list to table and back again easier, but again, it's not a one-button solution to sorting a menu.
Beth -
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. -
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 -
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
> >>
> >>
> >
> >
>
> -
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. -
Jump Menu with Hide/Show Layers
Is it possible to set up a jump menu or list menu where each
item in the list controls layer visibility. Is it possible to
assign Hide/Show Layers behavior to an item in a menu?You just need to do 2 things to make this happen. In the body
of the HTML add the call JS function:
quote:
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
Then in the form that contains the menu instead of using the
call to the Jump Menu script, use the call to the above script like
so:
quote:
<select name="jumpMenu" id="jumpMenu"
onchange="MM_callJS(jumpMenu.value)">
And make sure to set the values equal to the
MM_showHideLayers function for each menu item like this:
quote:
<option
value="MM_showHideLayers('apDiv2','','show','apDiv3','','hide','apDiv4','','hide')">Compa ny
A</option>
I just tried it on a sample page, and it works fine. -
I think I may have posted this question in the wrong forum,
so I'm trying it here as well.
Using the Jump Menu feature in Dreamweaver, I've set up the
following menu that opens a series of PDF files:
<form name="form1" id="form1">
<select name="previous issues"
onchange="MM_jumpMenu('parent',this,1)">
<option>Choose a previous issue:</option>
<option value="../pdfs/Gray Newsletter Feb
08.pdf">February 2008</option>
<option value="../pdfs/Gray Newsletter Mar-Apr
08.pdf">March-April 2008</option>
<option value="../pdfs/Gray Newsletter May 08.pdf">May
2008</option>
<option value="../pdfs/Gray Newsletter June
08.pdf">June 2008</option>
<option value="../pdfs/Gray Newsletter July-August
08.pdf">July-August 2008</option>
<option value="../pdfs/Gray Newsletter September
08.pdf">September 2008</option>
<option value="../pdfs/Gray Newsletter October
08.pdf">October 2008</option>
</select>
</form>
Is it possible to adjust this code in order to open each PDF
file as a new window? I don't want my visitors to get lost (and
they will) by having the page they are on replaced by a PDF file
that has no apparent link back to the page where this Jump Menu
resides.
And I can't add a back link as each PDF file is an existing
newsletter.
Thanks,
BillI searched this forum for "Jump Menu" and found the answer to
my problem! (Guess I should'a done that first, eh?)
This question was answered by jim balthrop, on Wednesday,
June 6, 2007 10:51 AM
Answer
found the answer in an Adobe Tech Note
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16166
Example of select tag before modification:
<select name="menu1"
onChange="MM_jumpMenu('parent',this,0)">
Example of edited select tag
<select name="menu1"
onChange="MM_jumpMenu('window.open()',this,0)">
Thanks, Jim. It works like a charm! -
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 -
Controlling a Spry HTML panel with a Jump Menu
Hi, I wonder if anyone can help.
I've implemented a HTML panel within a page to display different page elements and have it working no problem with a simple href and an onClick event but I would like to control what is displayed by using a jump menu (drop down list) - any idea how I can control that to populate the necessary DIV?
eg: <select name="site" size=1 onChange="hpanel.loadContent(this.href); return false;"> (obviously this doesn't work!)
Thanks in advance
NeilIt works fine, but your pages arent found;
http://www.thedesignforge.co.uk/clients/elsevier/laure/v2/dollar_rates.html
See its missing.
But
http://www.thedesignforge.co.uk/clients/elsevier/laure/v2/dollar_rate.html
Exists. So it seems to me you are linking to a incorrect file. -
I’m trying to create a “jump menu” from a
database table.
I’ve created the jump menu by using a "List/Menu" and a
"Dynamic" connection, this displays the items correctly.
Next I’ve used “Go To URL” and set the
parameters for the page load to use the value of the List/Menu to
load the required webpage and oppropriate value.
The page loads however it doesn’t show (or use) the
value from the List/Menu
Any ideas?
Heres my code
<select name="selPRINT" id="selPRINT"
onChange="MM_goToURL('parent','conPROD.asp?REF=<%=cStr(Request.Form("selPRINT"))%>');retu rn
document.MM_returnValue">
<option value="">Select your printer...</option>
<%
While (NOT rsPRODUCT.EOF)
%>
<option
value="<%=(rsPRODUCT.Fields.Item("printDELLref").Value)%>"><%=(rsPRODUCT.Fields.Item("pri ntPRODUCT").Value)%></option>
<%
rsPRODUCT.MoveNext()
Wend
If (rsPRODUCT.CursorType > 0) Then
rsPRODUCT.MoveFirst
Else
rsPRODUCT.Requery
End If
%>
</select>I have the answer.
First I created a list/menu and associated my database item
to it.
Next I created a jump-menu.
I then used the database code from the list/menu and inserted
it into the jump-menu.
Finally I added the option value of the page I wanted to
load.
Here’s my final code…
<select name="jumpMenu" class="SmallBLACK" id="jumpMenu"
onChange="MM_jumpMenu('parent',this,0)">
<option
value="conPROD.asp?REF=<%=(rsP.Fields.Item("printDELLref").Value)%>">Select
your printer....</option>
<%
While (NOT rsP.EOF)
%>
<option
value="conPRINTdetail.asp?REF=<%=(rsP.Fields.Item("printDELLref").Value)%>"><%=(rsP.Field s.Item("printPRODUCT").Value)%></option>
<%
rsP.MoveNext()
Wend
If (rsP.CursorType > 0) Then
rsP.MoveFirst
Else
rsP.Requery
End If
%>
</select> -
Jump menu to another jump menu
I am hoping I can get help...My boss wants a jump menu on the
left with sections and when one selects a section have it go to
another jump menu on the right with all of the selections in that
section category. I have seen this done with jump menus that once
an item is selected, give a special group of selections pertaining
only to that item.
I would love to be able to do this, but I remain clueless!This "behaviour" is usually called "dependant dropdown menu"
BTW.
Case 1: if the values of both menus will be derived from a
database, there are some DW extensions available like
Tecnorama´s
"Dynamic Dependant Dropdown Menus"
Case 2: if you´ll need to use static values for both
menus
(ie no database), you may want to give
Kaosweaver´s
"Dropdown Menu/List Rewrite" extension a try. -
I am a new user of Dreamweaver and setting up my first jump
menu. I believe I have followed directions properly, but when I
view my jump menu in the browser and try to have one of my list
values transfer to the designated URL - nothing happens. I went
into the Behaviors section and tried onclick to see if that would
work - nothing. I then recreated the jump menu and tried the 'go'
button. That didn't work either. Does anyone have any other
suggestion? I am working on a PC with Windows XP.dianecope wrote:
> <select name="Hockey-events"
onclick="MM_jumpMenu('parent',this,1)">
> <option value="Hockey-Event-H1.html"
>
selected="selected">12/13/06-Breakers-game-Event-H1</option>
> <option
>
value="Hockey-Event-H2.html">12/17/06-Breakers-game-Event-H2</option>
> </select>
>
<select name="HockeyEvents">
<option value="Hockey-Event-H1.html" selected>
12/13/06-Breakers-game-Event-H1</option>
<option value="Hockey-Event-H2.html">
12/17/06-Breakers-game-Event-H2</option>
</select><input type="button"
onclick= "location=
this.form.HockeyEvents[this.form.HockeyEvents.selectedIndex].value"
Note the change of select name.
Mick -
Jump Menu/Database question
Greetings all. I have a contact management database for
different departments. As it stand right now, I have a one page on
my site with a list of each department, and when you click on a
department it takes you to a webpage that populates with
information pertaining to the selected department. What I'm trying
to do is replace the list with a jump menu. I know how to populate
the jump menu with dynamic data, but how do I pass a URL variable?
Also, I'm wanting the site to go to the same page regardless of
which department the select. How do I tell the jump menu to go to
page x if the labels are pulled dynamically from a table? The best
example I can think of is a webpage with that caters to different
countries. REgardless of which country you select it takes you to
the same page, but the data on the page is pulled from a database
containing the language that corresponds with the selected country.
Thank you in advance for the help.Moved to the Dreamweaver Application Development forum.
To display the selected option, you need to add a conditional statement to each <option> tag.
<option style="background-image:url(img/flags/icon1.gif);"
value= "main.php?city=tx"
<?php
if (isset($_GET['city'] && $_GET['city'] == 'tx') {
echo 'selected="selected"';
?>
>Texas</option>
Do the same for each <option>, changing 'tx' to 'ut', 'ny', and 'nj' as appropriate.
Maybe you are looking for
-
How Do You Control the Order That Menu Items Are Selected
I am using iDVD 6 with the Portfolio Theme (iDVD 5). I created a project with one 15-minutes iMovie project and seven slideshows (created in iDVD). In Preview mode (or with the final) DVD, the order that entries on the main menu are selected does not
-
After updating to 10.5.1, Quicktime has no sound. At first I thought it was my PBG4. I was able to hear the system sounds as well as iTunes. I recently upgraded Flip4Mac as well. Could this be the cause of my problems. I miss listening to streams via
-
Adjustment Brush features on my Lightroom 5.6.
Hi Folks. I seem to have lost all the Adjustment Brush features on my Lightroom 5.6. I still get the target cursor when I click it on or use K on keyboard but I don't get any of it's effects. I tried the uninstall / reinstall but It still doesn't wor
-
How in filter extract attachments?
I want to make filter which will automatically extract attachments in special folder (for example c:\MyFolder). In "The Bat" program i can do it easily. But in Thunderbird i can't find how to do it. May be there are some plugins? Best regards, Ruslan
-
Photomerge o panorámicas en Photoshop 7
¿Existe photomerge u otra utilidad en Photoshop 7 para crear panorámicas con varias fotos? Gracias por vuestra ayuda.