Xbox Mod Chip | Free Ringtones | Current Accounts | Remortgages | Personal Loans
HTML Question [Archive] - PCMech Forums

PDA

View Full Version : HTML Question


DukeDiablo
01-27-2002, 11:01 AM
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

Felix
01-29-2002, 09:45 AM
??? not sure I undestand you right.

here is the link: <a href="#anchor1">I'm a link to anchor 1</a>

here is another link: <a href="#anchor2">I'm a link to anchor 2</a>


The anchors are the link target. just place them one after another, see example on the page end.

To look how I made it click to "view source code" in your browser.
or, here's the code of the anchor:

&lt;a name="anchor1"&gt;&lt;/a&gt;&lt;a name="anchor2"&gt;&lt;/a&gt;Here are the anchors 1 & 2



Hope that helps
Felix

(imagine some text to fill up the page...)
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>

<a name="anchor1"></a><a name="anchor2"></a>Here are the anchors 1 & 2
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>
... ...<br>

DukeDiablo
01-29-2002, 06:37 PM
Thanks Felix-

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...

Thanks again, I didn't think of your method either, so that is another option.

Have a great one.

Felix
01-30-2002, 03:39 AM
Just one thought - keep it simple. Why should you use an ASP page if you can do the same with small, fast, HTML??

I can't find any good on all those boring but useless flash animations or java applets.

No offense, just my opinion - the opinion of a common internet user, sad and tired of waiting for completing some overblown page loading or installing the newest flash plugin or even watching the nag screen "install flash 287.16889" every second page. *sigh* :(

DukeDiablo
01-30-2002, 06:36 AM
I tend to agree Felix-

Thanks again for the response. Actually this is a project for a Decision Support System (DSS) class I'm currently taking. We are just in our first unit, but our main goal is to use primarily server side scripting, with HTML as a backbone. I would much rather use plain HTML, but I can now see the advantages of ASP with Visual Basic scripting in applications.

I think by using a Java Script menu, I can display an expandable menu system which would fix my problem. Then again, just as you said, everything gets more complicated and frustrating.

Have a great week and thanks again.