Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

DIV as Target !

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to give a DIV id as a target for HREF instead of a frame.
Is this possible ? If YES how?
Are there any other ways to display stuff in a specified area without using frames?

Any help in this regard will be appreciated.

Thanks in advance
Anupam
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use an iframe, it is a frame that acts like a div.

Eric
 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also use the XMLHTTPRequest object (native object in Mozilla, ActiveX control in IE).

http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://jibbering.com/2002/4/httprequest.html

It seems to also be the technology webapps like google suggest use.

-Yuriy
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OR: http://www.adaptivepath.com/publications/essays/archives/000385.php
 
Anupam Bhatt
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Yuriy Zilbergleyt:
You can also use the XMLHTTPRequest object (native object in Mozilla, ActiveX control in IE).

http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://jibbering.com/2002/4/httprequest.html

It seems to also be the technology webapps like google suggest use.

-Yuriy



Hi,
Thanks a lot for telling me about this new thing "xmlhttpreq".
but to be more clear let me let you my case:

Here is the present code:

<map name="Map">
<area shape="rect" coords="245,1,315,14" href="/apps/templates/global/jsps/actionbar/actionbar_partners.htm">
<area shape="rect" coords="169,2,240,13" href="/apps/templates/global/jsps/actionbar/actionbar_regions.htm">
</map>
</body>

I want the href links to also have a target and the target should be the same as the div or the location where the original MAP resides.

Please let me know in case you need more clarity over this.

Thanks,
Anupam
[ March 24, 2005: Message edited by: Anupam Bhatt ]
reply
    Bookmark Topic Watch Topic
  • New Topic