This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > February 2005 > XML Menu - With ASP - Without Frames !





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XML Menu - With ASP - Without Frames !
Lovely Angel For You

2005-02-10, 7:17 am

Hello To All

I am new to xml, dont know much about it, so will like your suggestion
and opinions on what I think can be done with my problem.

I have this website, on the left side of it I am showing a menu links.
Mainly links to the section pages.

Section 1
Section 2
Section 3
Section 4
Section 5

If I click section 1, then section1.asp loads and sub sections for
that are shown there.

Section 1
__Subsection1.1
__Subsection1.2
__Subsection1.3
__Subsection1.4
Section 2
Section 3
Section 4
Section 5


Now if section 3 is clicked, then section3.asp will load and display
the left links in the same format.

But I was thinking would it be possible not to load section3.asp, but
instead display the subsection links, right there on the page, without
reloading it. I have seen these kinds of applications, but they all
use frames.
Like MSDN Library.
But if you check http://www.connectionstrings.com/, then you can get
some idea what I wish to put on my website.

Some thing like Yahoo and MSN uses on there top search bars.

I would be very thankful if you can help in this proect. Any pointer,
any startup idea, will be greatly appreciated.

Waiting for your replies.

Love
Lovely
gadrin7@aol.com

2005-02-13, 4:14 am

well, you don't need frames and you may not even need to use XML.

HTML has property called display which you can set to none.

<style> .hidden {display:none;} </style>
<span onclick="Submenu.className=''"
ondblclick="Submenu.className='hidden'">Main Menu</span>
<div id="Submenu" class="hidden">
<ul>
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ul>
</div>

cut & paste into an HTML page and try it. Click once to show, double
click to hide.

you can make more sophisticated scripts that will hide/unhide with a
single click.

lovely_angel_for_you@yahoo.com

2005-02-16, 6:37 pm

Thanks for the help.

I did that only, I checked connectionstring.com for more code in the
back and cme up with the perfect solution for the navigation liks i was
trying to find.

Used DIVs instead of span, as I had to use table and cells more.

The end product is I am really comfortable with.

Thanks for the help all.

Love
Lovely

__________________________________________

gadrin7@aol.com wrote:
> well, you don't need frames and you may not even need to use XML.
>
> HTML has property called display which you can set to none.
>
> <style> .hidden {display:none;} </style>
> <span onclick="Submenu.className=''"
> ondblclick="Submenu.className='hidden'">Main Menu</span>
> <div id="Submenu" class="hidden">
> <ul>
> <li>Option 1</li>
> <li>Option 2</li>
> <li>Option 3</li>
> </ul>
> </div>
>
> cut & paste into an HTML page and try it. Click once to show, double
> click to hide.
>
> you can make more sophisticated scripts that will hide/unhide with a
> single click.


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews