Jump to content


Photo

how to name a target


  • Please log in to reply
1 reply to this topic

#1 arielmedel

arielmedel
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 17 October 2006 - 05:48 PM

I have this code:

<body>

<div class="menu"><?php @ include ("menu.php"); ?>
</div>
<div class="body">your content goes here<?php @ include ("page.php"); ?>
</div>

</body>

I want the buttons in the menu to load different content in "body" without changing the top part which is "menu"

I was told I had to specify the target

<a href="#" target"framename">your image here</a>

What I don't know now is how to name the div?

Should I do it like this?:
<div class="body" name="body"><?php @ include ("page.php"); ?>
</div>

Or how do I name that div so it become sthe target?

#2 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 17 October 2006 - 06:49 PM

target is used in html to specify whether a new window, or the same window.
Here are the things you can use with the target attribute.,


target  _blank
_parent
_self
_top

Where to open the target URL.

    * _blank - the target URL will open in a new window
    * _self - the target URL will open in the same frame as it was clicked
    * _parent - the target URL will open in the parent frameset
    * _top - the target URL will open in the full body of the window

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users