PDA

View Full Version : news site



leaked
23-08-2005, 03:35 PM
im making a news site and im having problems with the pages.

i have added the pages uploaded it to the website but the problem is when u click on a link it opens the page with the nav and title disappearing.

what i want it to do is when u click the link via the nav in the text content iframe box it changes the page to the one i clicked.

does any1 know how 2 fix?

JoeComins
23-08-2005, 03:38 PM
for the links in th nav, use this code

<a title'Page Title' scr='Link Of Page Here' target='name of ifram here'></a>

I think thtas it from memory

Mentor
23-08-2005, 04:03 PM
What in the world lol

somehow i think the link code would work better like this

<a href=" URL OF WHERE TO GO HERE "> link text </a>

And if u want to target an ifraim, just ad the attribute target=" BLA "
with the ifriams name where it says bla

JoeComins
23-08-2005, 04:49 PM
Mine works as well, Its the ne I always use: just add text between the > and the </a>

splintercell!
23-08-2005, 05:42 PM
<a title'Page Title' scr='Link Of Page Here' target='name of ifram here'></a>

But yours isnt correct html "/ for example it have to be title="page Title" (Use " not ') and also the tag is <a href="URL OF PAGE">LINK HERE</a> You are mixing it up with iframes.

JoeComins
23-08-2005, 05:44 PM
God Damn It - I should never do anything off memory, I ust cannot remember things. I get them ars about face

popppy3000
23-08-2005, 05:45 PM
i dont but can i be a news reporter on it ma habbo name is.::.Emm.::. add it :) plzs im good lol

Tommy
23-08-2005, 05:52 PM
You should always remember the <a href =""></a> code

comes in handy xD

leaked
23-08-2005, 07:43 PM
can some one give me a full working code?

i went asking on other forums and got an answer:

<a href="here.htm" target="main.htm">world news</a>
the problem is when i put that in and change the stuff like ahref and the titile world news to what i want it to be and upload it too my site it changes from a new page and goes into a new window

like it pops a new window up/.

when i want it to go in the content box only.

if i give soem 1 who knows what they are doing hte folders can they do it for me

JoeComins
23-08-2005, 07:51 PM
<a href="here.htm" target="main.htm">world news</a>

Your targeting it to your page, not your IFrame, unless its called main.htm

It needs to be main if your iframes called main, not main.htm

leaked
23-08-2005, 08:05 PM
<a href="here.htm" target="main.htm">world news</a>

Your targeting it to your page, not your IFrame, unless its called main.htm

It needs to be main if your iframes called main, not main.htm

thanks it worked but now it does teh same again

Want to hide these adverts? Register an account for free!