Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 12-02-2006, 07:56 PM div like frame
Korzonek's Avatar
Skilled Talker

Posts: 60
Name: Michael
Location: Warsaw
Trades: 0
is it possible to make div's work like frames??like if you clik a button another thing/page is loaded to a div without reloading the page??
Korzonek is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-02-2006, 08:38 PM Re: div like frame
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes - but you're going to have to use css
http://www.456bereastreet.com/archiv...v2_fullheight/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-02-2006, 11:01 PM Re: div like frame
blackhawkpowers's Avatar
Ultra Talker

Posts: 313
Name: Dustin
Location: GA
Trades: 0
LadynRed could this techinque work to show another site from your own for example I have my current site that links to some other sites but I would like for the other sites to be shown in my .content div and keep my current header and nav divs I just today decided to do it with frames so it's interesting to see this article.
__________________
A patch is a piece of software which replaces old bugs with new bugs.

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
blackhawkpowers is offline
Reply With Quote
View Public Profile Visit blackhawkpowers's homepage!
 
Old 12-03-2006, 03:50 PM Re: div like frame
Korzonek's Avatar
Skilled Talker

Posts: 60
Name: Michael
Location: Warsaw
Trades: 0
but the article is about "width" in css...or may be I'm missing something??I wanted to make it so if you click a button a different page or content load in to a different div on the same page that the button was clicked....)
Korzonek is offline
Reply With Quote
View Public Profile
 
Old 12-03-2006, 05:31 PM Re: div like frame
blackhawkpowers's Avatar
Ultra Talker

Posts: 313
Name: Dustin
Location: GA
Trades: 0
I think the easiest way to do that is to just have a page layout that you repeat and one "content" div that changes based on the content you want on that site
__________________
A patch is a piece of software which replaces old bugs with new bugs.

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
blackhawkpowers is offline
Reply With Quote
View Public Profile Visit blackhawkpowers's homepage!
 
Old 12-04-2006, 08:59 AM Re: div like frame
Korzonek's Avatar
Skilled Talker

Posts: 60
Name: Michael
Location: Warsaw
Trades: 0
so the question in how to that without loading the whole layout each time you change the "content"...people with low speed conections will suffer if they have to wait for the graphics to load over and over again ...
Korzonek is offline
Reply With Quote
View Public Profile
 
Old 12-04-2006, 03:20 PM Re: div like frame
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
so the question in how to that without loading the whole layout each time you change the "content"...people with low speed conections will suffer if they have to wait for the graphics to load over and over again
No, no, you misunderstand the function of HTTP and the browser !

Users will only have to wait for graphics to load the FIRST TIME they visit your site. The browser - all of them - will CACHE all the images to the user's machine. The only images that will have to be loaded from then on are those that are different/new. If the users forces a re-load from the server (ctrl-reload) or hits refresh, then they might have to wait a few seconds for the updated/new images to d/l. This is what CACHING is all about - so you DON"T have to constantly re-download images each time you go to the same page.

The browser DOES NOT call the page/images from the server every time you hit a page unless you've cleared your CACHE/temp internet files or deliberately forced a re-load of the page.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-06-2006, 12:11 PM Re: div like frame
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
would it not be easiest to use a iframe?
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 12-06-2006, 03:01 PM Re: div like frame
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
In the case of what blackhawkpowers is suggesting, yes. But only because external content is being called.

The other option is to make external sites load in a new window. I prefer this route since it lets users know that they're on something else without losing the original site, and contrary to published opinion no one has ever complained about the back button not functioning correctly on their browser.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to div like frame
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.87374 seconds with 12 queries