Jump to content

Hard Question With <div> Tags...Please Help!


addtrain

Recommended Posts

I have a full running website called David's-Realm, and I am completley redoing the page from iFrames to Div tags. Here is my test of the main page: http://www.freewebs.com/broken_dizzy/test.htm. I am trying to get those little images so when you click on them, they go to the main Div, called "content" (it is the one that says "Welcome!...content....more content"). How can I make it so that when someone clicks on one of those images at the top, they appear in my main frame/div thing?

 

Here is what I THOUGHT it was:

<div id="top"><a href="videos.htm" target="content"><img src="image.gif"></a></div>
<div id="content">WELCOME!<br>content...more content</div>

I thought that you would just set a <target="content"> tag, but that didn't seem to work. How can I make it so that when you click on a link/linked image, it appears in the main div frame?? My host dosen't allow PHP, either...

 

THANK YOU SO MUCH IF YOU HELP ME!

Link to comment
https://forums.phpfreaks.com/topic/76457-hard-question-with-tagsplease-help/
Share on other sites

Dude the only way you are going to be able to do it without php is java script and css. I recomend finding a host that allows PHP. There are a ton of free host that support PHP of course they are mostly Add driven. but ehe if you dont mind a Add at the top top of your page I sugest your move hosting accts. O and I wouldnt know how you do it in Java either. Sorry i couldnt help but google "Java Display Classes" May turn up something usefull.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.