Reply
Question bout linking to pages.
Old 07-01-2004, 03:10 AM Question bout linking to pages.
Novice Talker

Posts: 10
Hi. Sorry to bother everyone.

I've been making a website using a template which I have then proceded to change. The original template has these buttons on it to link to other pages of the site. But, I don't know how to make other pages to my site and I can't find instructions to that anywhere.

Can someone please tell me or tell me where to go to find out how to create different windows (not sure if thats the right term) in my page so I can display info in different sections etc.

Thanks - its driving me crazy!
Smernov is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-01-2004, 03:15 AM
troatie's Avatar
Skilled Talker

Posts: 64
First off, no bother! That's what we're here for.

Secondly, I'm not exactly sure what you're asking. Are you trying to just make a regular link out of the images to other pages? If so, you just create the other pages as you like. Then make the buttons link to those files (their specific locations and file names).

Or do you mean you click on a button, and only part of the page reloads with the content?

If you could give more details, I'd be happy to be more specific myself!
__________________
Troatie.com
troatie is offline
Reply With Quote
View Public Profile Visit troatie's homepage!
 
Old 07-01-2004, 09:43 PM
Novice Talker

Posts: 10
the latter.

Argh i wish i knew the technical jargon so i could be more specific! sorry about that.

I want it all to be contained in the same page - ie. not linking to other pages. The page I'm making is for my fashion label so I want viewers to be able to click on the buttons (on the main page) and a section/page will open with pictures of the goods. So each button will say like 1. shoes, 2. T-shirts, 3. Dresses, 4. General art and so on. So when one clicks on the button, the corresponding page will open with the pictures of examples.

Does that make sense?
Smernov is offline
Reply With Quote
View Public Profile
 
Old 07-02-2004, 02:05 PM
troatie's Avatar
Skilled Talker

Posts: 64
Yes, it makes sense. You're still going to have to do it with multiple pages though. But it'll "look" like one page.

Try using inline frames:
http://www.w3schools.com/tags/tag_iframe.asp
__________________
Troatie.com
troatie is offline
Reply With Quote
View Public Profile Visit troatie's homepage!
 
Old 07-03-2004, 01:09 AM
Novice Talker

Posts: 10
thanks for your help.

I checked out the Inline frames - but I'm not sure I have room for one on my page so far.

I will make additional pages that will open in separate windows. But I'm not sure where to put the links in? I have 6 buttons like I said, which are just images at the moment - where do I put in the HTML for the link?

The current HTML for the buttons is:

<!--

function on1()
{if (!document.images) return; document.a.src = "images/butt_link1_selZ.jpg";}
function on2()
{if (!document.images) return; document.b.src = "images/butt_link2_selZ.jpg";}
function on3()
{if (!document.images) return; document.c.src = "images/butt_link3_selZ.jpg";}
function on4()
{if (!document.images) return; document.d.src = "images/butt_link4_selZ.jpg";}
function on5()
{if (!document.images) return; document.e.src = "images/butt_link5_selZ.jpg";}
function on6()
{if (!document.images) return; document.f.src = "images/butt_link6_selZ.jpg";}

function off1()
{if (!document.images) return; document.a.src = "images/butt_link1Z.jpg";}
function off2()
{if (!document.images) return; document.b.src = "images/butt_link2Z.jpg";}
function off3()
{if (!document.images) return; document.c.src = "images/butt_link3Z.jpg";}
function off4()
{if (!document.images) return; document.d.src = "images/butt_link4Z.jpg";}
function off5()
{if (!document.images) return; document.e.src = "images/butt_link5Z.jpg";}
function off6()
{if (!document.images) return; document.f.src = "images/butt_link6Z.jpg";}

var imgslist = new Array(
"images/butt_link1_selZ.jpg",
"images/butt_link2_selZ.jpg",
"images/butt_link3_selZ.jpg",
"images/butt_link4_selZ.jpg",
"images/butt_link5_selZ.jpg",
"images/butt_link6_selZ.jpg");

var imgs=new Array();
for (x=0; x<imgslist.length; x++)
if (document.images)
{imgs[x]=new Image(); imgs[x].src = imgslist[x];}

//-->


I have no idea what to make of it.
Smernov is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Question bout linking to pages.
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13617 seconds with 12 queries