Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-28-2002, 05:43 PM   #1
Member (8 bit)
 
Join Date: Jan 2001
Location: Christiansburg, Virginia
Posts: 246
Send a message via AIM to DukeDiablo
Question Sorry...HTML Question

Dear Forum-

...I posted this in the WWW/Internet section but received no response...

Dear Forum-

I'm currently working on some active server pages for a DSS class at school; however, right now the VBScripting isn't the problem.

I have made a basic frames page for my front end, but I'm having a problem with getting my system to do what I want.

I have the generic menu navigation on the left and the main target on the right. I would like the user to be able to click an item in the menu...then that would both bring up a new menu set in the navigation window...while changing the main target window as well, all with one click.

My question is how do I assign (2) or more anchor's to one text-link?

Any information would be greatly appreciated and any recommendations on a helpful .asp using VBScript website would also be great.

Thanks so much and yall have a great week.

Sincerely,
Jim Kennedy
DukeDiablo@Aol.com
DukeDiablo is offline   Reply With Quote
Old 01-28-2002, 06:50 PM   #2
Member (12 bit)
 
Paul Victorey's Avatar
 
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
You need to use some kind of scripting. Make the link execute the script, make the script change the pages.
__________________
Paul M. Victorey
------------------
I am not responsible for any problems that may arise as a result of following my advice. This includes, but is not limited to, computer failure, loss of data, nuclear war, famine, boils, no clean laundry, your daughter running off with a biker gang, or armageddon. Take my advice at your own risk.
Paul Victorey is offline   Reply With Quote
Old 01-28-2002, 06:58 PM   #3
Member (8 bit)
 
Join Date: Jan 2001
Location: Christiansburg, Virginia
Posts: 246
Send a message via AIM to DukeDiablo
Thanks Mr. Victorey-

I'm planning on trying to use a "hidden" input type to pass along a variable to some server side script, but I think my biggest problem is just brain power on my part. Thanks again for the advice.
DukeDiablo is offline   Reply With Quote
Old 01-29-2002, 10:16 AM   #4
Member (8 bit)
 
Join Date: Feb 2001
Location: Tennessee
Posts: 204
This may help

I've never attached a file here. Lets give it a try.
Attached Files
File Type: txt frames.txt (958 Bytes, 72 views)
ut1205 is offline   Reply With Quote
Old 01-29-2002, 11:03 AM   #5
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
ut1205: Nope I don't think thats what he is trying to do.

Correct me if I'm wrong duke but you want both the menu frame and content frame to change when a link in the menu frame is clicked.

To do this simple html is not enough. You'd have to use some client-side scripting (JavaScript is proabably best as it is support by more than just IE).

It would simply be a case of creating a function that changes the pages displayed in both the frames and then calling this function using an event (onClick).
dj4uk is offline   Reply With Quote
Old 01-29-2002, 11:11 AM   #6
Member (8 bit)
 
Join Date: Feb 2001
Location: Tennessee
Posts: 204
Worked for me

Before I submitted this response I created the 6 html files on this computer and tested it. Worked like a charm. You can carry it on as many times as you want, no java script required. When you click on a link in the left frame it changes the left and right frames of the new page. The only variable I've found is that you may not nee to use the _ in the _blank.
ut1205 is offline   Reply With Quote
Old 01-29-2002, 05:44 PM   #7
Member (8 bit)
 
Join Date: Jan 2001
Location: Christiansburg, Virginia
Posts: 246
Send a message via AIM to DukeDiablo
Thanks everyone

I really appreciate the responses and information. Actually I've decided to go ahead and make an ASP page that dynamically creates the main target window...by passing a hidden variable to the asp page. I'm going to use the query string method of passing a variable...

Ex:

a href="www.blah, blah.com?variablename=variablevalue"

That way I can still just use my original menu style...

So when the user clicks..."Customers" on my main menu for example...the anchor will change the menu to the actual customer menu, while the .asp page will change the main target window. At least that is my plan. Wait, I guess that won't work either, that variable will never make it to my .asp page. Damn.
Well there goes that idea. Sorry I've rambled here...yall have a good one.

Thanks again
DukeDiablo is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2