Dynamic Jump Menu???
I am trying to create a dynamic jump menu (populated from a database). I have a column in th DB named "url" that contains the path of the page of each option. Any ideas on how to make it so that when the option is selected and the "go" button is pushed it takes the user to the page specified in the "url" of the database? Any help is greatley appriciated.
"kevinrogers2006" <[email protected]> wrote
in message
news:go4va9$lr2$[email protected]..
> when i click the
> button to jump to page the .php is missing therefore i
get page
> cannot be
> found.
It's missing because it's not in the code. The problem lies
here:
> <option value="<?php echo
$row_menuselect['ID']?>"<?php if
> (!(strcmp($row_menuselect['ID'],".php"))) {echo
> "selected=\"selected\"";}
> ?>><?php echo
$row_menuselect['Name']?></option>
Change it like this:
<option value="<?php echo $row_menuselect['ID'] .
'.php'?>">
<?php echo $row_menuselect['Name']?></option>
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Similar Messages
-
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
> >>
> >>
> >
> >
>
> -
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. -
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. -
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. -
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 -
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. -
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' :-) -
Setting the Default Value for a dynamic select menu
Hi I have a php page with 2 forms on it, one feeds the other to achieve a drill down (manufacturer > model). In the second select menu I have a default static value "Select Aircraft Model", I want to set a value for the first dynamic select menu to read "Select Aircraft Manufacturer". When I add a static value to my list it tells me I alreay have a dynamic behavior on this menu and to choose a different one. I have included the code for both menus. Thank you in advance, I know this must be a stupid question, but it's got me stumped.
Tom
//This is the menu I want to add the default static value to//
<td width="667"><select name="airMake" style="width: 200px;"onchange="this.form.submit();" id="airMake">
<?php
do {
?>
<option value="<?php echo $row_rsAirManufacturer['aircraft_manufacturer']?>"<?php if (!(strcmp($row_rsAirManufacturer['aircraft_manufacturer'], ((isset($_POST["airMake"]))?$_POST["airMake"]:"")))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsAirManufacturer['aircraft_manufacturer']?></option>
<?php
} while ($row_rsAirManufacturer = mysql_fetch_assoc($rsAirManufacturer));
$rows = mysql_num_rows($rsAirManufacturer);
if($rows > 0) {
mysql_data_seek($rsAirManufacturer, 0);
$row_rsAirManufacturer = mysql_fetch_assoc($rsAirManufacturer);
?>
</select>
</td>
</tr>
</table></form>
<form action="quoteResult.php" method="post" name="quoteForm">
<table width="100%" border="0" cellpadding="5px">
<tr>
<td width="260"style="color: #000; text-align: right;">Aircraft Model:</td>
<td colspan="2"><span id="spryselect2">
//This is the menu that works correctly//
<select name="airModel" style="width: 200px;" id="airModel">
<option value="" <?php if (!(strcmp("", ((isset($_POST["airMakeField"]))?$_POST["airMakeField"]:"")))) {echo "selected=\"selected\"";} ?>></option>
<?php
do {
?>
<option value="<?php echo $row_rsAirModel['aircraft_model']?>"<?php if (!(strcmp($row_rsAirModel['aircraft_model'], ((isset($_POST["airMakeField"]))?$_POST["airMakeField"]:"")))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsAirModel['aircraft_model']?>Select Aircraft Model</option>
<?php
} while ($row_rsAirModel = mysql_fetch_assoc($rsAirModel));
$rows = mysql_num_rows($rsAirModel);
if($rows > 0) {
mysql_data_seek($rsAirModel, 0);
$row_rsAirModel = mysql_fetch_assoc($rsAirModel);
?>
</select>Change this -
<select name="airMake" style="width: 200px;"onchange="this.form.submit();" id="airMake">
to this -
<select name="airMake" style="width: 200px;"onchange="this.form.submit();" id="airMake">
<option value="-1">Select Aircraft Manufacturer</option>
Then if the value of 'airMake' is -1 you know that no choice was made. -
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. -
How do I make a selection on a jump menu open in a "blank" or secondary window?
Please (anybody) if you can help me with this issue, I would greatly appreciate it!
I am attempting to use the jump menu form feature in Dreamweaver. Everything in the feature works fine until I get to "Open URLs in: ....". For some reason only the option for "MAIN WINDOW" drops down and not an option for "NEW WINDOW". At this point I have spent way to much time searching for a solution, even to the point of reinstalling Dreamweaver to no avail. Can someone please take a look at my code and tell me how I can alter the code to make each jump menu link items open in a separate (blank) window. I'm not the best with code, but if you tell me exactly where to put each line of code I can do it!
Again, any help would be greatly appreciated. Trying to meet a deadline and ran into this unexpected issue.
Here is the link: http://www.graphicmechanic.com/DEKALBCOUNTY/portals/visiting-dekalb/index.html
Just in case it helps with the explanation of my problem, I've attached an image of what I'm seeing in the DW jump menu window.This technote may help:
http://kb2.adobe.com/cps/161/tn_16166.html
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates | Tutorials | SEO Articles
http://www.DreamweaverResources.com
Web Design & Development
http://www.perrelink.com.au
http://twitter.com/nadiap -
Hello,
I am having trouble with the Dreamweaver Jump Menu. I have
set up a basic page, used the Insert: Form: Jump Menu to navigate
to different pages. It works fine in all browsers with or without
the "Go" button, but it never works in IE 6 or 7. Is this a common
issue with the Jump Menu? Is there some bit of code I need to add
to make it work in IE? I can post my code in here if necessary;
just thought I'd check to see if it was an easy fix first.
Thanks for any advice.Your markup is screwed up. Compare yours with the following
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html">Home</a></li>
<li><a class="MenuBarItemSubmenu" href="#">About Us</a>
<ul>
<li><a href="about us.html">About Us</a>
<li><a href="calendar.html">Calendar</a></li>
<li><a href="bus ministry.html">Bus Ministry</a></li>
<li><a href="subscribe.html">Newsletter</a></li>
</ul>
</li>
<li><a href="directions.html">Directions</a>
<li><a href="sermons.html">Sermons</a></li>
<li><a href="contacts.html">Contacts</a></li>
<li><a href="gallery.html">Gallery</a></li>
</ul>
Gramps -
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.
Maybe you are looking for
-
Hi everyone, I have a macbook pro and it's so slow. After scouring the internet a lot, and CCleaning my computer 359802 times and using Onyx, I finally realized why it's so s low.....my Page Ins and Page Outs are so big. I have attached a screensho
-
In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyo
-
Inconvenience and gaps in the new "Music" app. (iOS 5.1.1)
Is there anyone else who is unhappy with the changes in iOS 5.1.1? I am very disappointed how to use the "Music" app. in iOS 5.1.1 after the interface has changed. In the new interface we have NOT: 1 Left-side navigation panel 2 "List" view for
-
XSQL File - Dynamic query from standard Browser - XML response.
Hi, this is my first post ! I need to query an Oracle DB from the web browser and get the data in XML format. I've made some progress but they're still not enough. I wrote a FIXED query from JDeveloper XSQL File (here is my big lack of knowledge) and
-
Installing iTunes 10.5.2 on Windows Home Server
Hi community, can someone please tell me how to successful install iTunes 10.5.2 on a Windows Home Server (based on Windows 2003)? The installation procedure quits with an error, saying that only Windows XP SP2 an later is supported. Installing and r