Help with ASP wep page - Honda Motorcycles - FireBlades.org
Off-Topic Discussion of anything that doesn't fit anywhere else. If it's related to motorcycles in any way, DO NOT post it here. Post it in General Discussion or a more specific forum.

User Tag List

 
LinkBack Thread Tools
post #1 of 10 Old 06-22-2004, 12:03 PM Thread Starter
 
Join Date: 02-21-2003
Posts: 522
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
 
Help with ASP wep page

I need some help in an ASP web page.

What I have is a window which has two frames. The top frame has two jump menus eg. pull down menus without "GO" buttons. The first menu is populated with "Categories" eg. Honda,Yamaha etc.

If you select Honda, then the second menu is populated with Honda models eg. CBR, VFR etc. When you select CBR from the second menu, then the second frame displays the details. Basically it's like a master detail / search engine schema.

The line of code which does that for me to a tee is

<select name="select" onChange="MM_jumpMenu('parent.frames[\'mainFrame\']',this,1)">

The problem which I have, is that the second menu does not retain the bike model. It defaults back to "Please Choose a Model"
Any ideas on how to retain that info or how to pass a parameter to bring you back to the search stage.

I've been stuck on this for quite a while.

Many Thanks
Athens954 is offline  
Sponsored Links
Advertisement
 
post #2 of 10 Old 06-22-2004, 12:07 PM
 
Join Date: 05-01-2001
Posts: 12,126
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
             
Re: Help with ASP wep page

That's more of a JS question than an ASP question. Zip up the source files and attach them and I'll take a look.
ConqSoft is offline  
post #3 of 10 Old 06-22-2004, 12:25 PM Thread Starter
 
Join Date: 02-21-2003
Posts: 522
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
 
Re: Help with ASP wep page

Quote:
Originally Posted by ConqSoft
That's more of a JS question than an ASP question. Zip up the source files and attach them and I'll take a look.
This is the source file in question. And don't freak out if you see some Greek in there

Thanks Conq.
Attached Files
File Type: zip SearchSub.zip‎ (1.4 KB, 1 views)
Athens954 is offline  
Sponsored Links
Advertisement
 
post #4 of 10 Old 06-22-2004, 12:30 PM
 
Join Date: 05-01-2001
Posts: 12,126
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
             
Re: Help with ASP wep page

Ok, you'll want to pass the category ID on the URL, then pass it back when you go back to the main page. Then in your loop where you're outputting the <OPTIONS>, put an IF statement in there to compare the current ID to the one you passed back in, if true, then put "SELECTED" on that option.
ConqSoft is offline  
post #5 of 10 Old 06-22-2004, 3:38 PM
 
Join Date: 02-22-2004
Posts: 3,586
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 19
 
Send a message via MSN to matt232
Re: Help with ASP wep page

Dealing with different frames on dynamic sites is a nightmare, I'd suggest you save youself the pain and change the design so its all on one page using tables rather than frames. Unless of course you have absolutely no choice, then I hope like hell Conq's suggestion does the trick (I haven't looked at the code so not sure) otherwise you are in for some late nights.

Best of luck!!
matt232 is offline  
post #6 of 10 Old 06-22-2004, 3:40 PM
 
Join Date: 05-01-2001
Posts: 12,126
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
             
Re: Help with ASP wep page

Yeah, if you're using ASP you should be able to dynamically create the page without using frames. People still use frames?
ConqSoft is offline  
post #7 of 10 Old 06-22-2004, 5:06 PM
 
Join Date: 05-08-2003
Posts: 8,824
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
       
Clickity-click

Chain is offline  
post #8 of 10 Old 06-22-2004, 5:20 PM
 
Join Date: 02-22-2004
Posts: 3,586
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 19
 
Send a message via MSN to matt232
Re: Help with ASP wep page

Quote:
Originally Posted by ConqSoft
Yeah, if you're using ASP you should be able to dynamically create the page without using frames. People still use frames?
Makes the website more search engine friendly as well.

http://searchenginewatch.com/webmast...le.php/2167901
matt232 is offline  
post #9 of 10 Old 06-22-2004, 5:29 PM
 
Join Date: 05-10-2003
Posts: 507
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
 
Re: Help with ASP wep page

You can also goto www.asp.net under the 'starter kit' tab for some code examples and architecture ideas for developing a site.
symonjester is offline  
post #10 of 10 Old 06-24-2004, 11:04 AM Thread Starter
 
Join Date: 02-21-2003
Posts: 522
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Reputation Power: 0
 
Re: Help with ASP wep page

Thanks for the input fellow .org members

I managed to find where to insert that damned if statement...

<script language="JavaScript" type="text/JavaScript">
<!--


function MM_jumpMenu(targ,selObj,restore){ //v3.0
if (selObj.selectedIndex == 0)
return;
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>

I really should get out of using frames...
Athens954 is offline  
Reply

  Lower Navigation
Go Back   Honda Motorcycles - FireBlades.org > Other > Off-Topic

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the Honda Motorcycles - FireBlades.org forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
A valid e-mail address is REQUIRED. You will not have access to any site features until you activate your account using the activation e-mail that is sent to this address.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Similar Threads
Thread Thread Starter Forum Replies Last Post
Honda Parts Lookup page? Jay General Discussion 1 06-15-2004 1:05 AM
Web page for dealer cost on bikes? WetShrub Off-Topic 2 12-02-2003 7:31 PM
Web page Questions Jay Off-Topic 5 05-14-2003 10:27 PM

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 
For the best viewing experience please update your browser to Google Chrome