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
Div Css instead of Iframe
Old 08-23-2007, 08:33 AM Div Css instead of Iframe
Novice Talker

Posts: 5
Trades: 0
I'm new at this whole webdesigning and I've really tried looking around at something that could help me out. There were times I've came close but just didn't understand it clear enough. Like I said, I'm a newbie so I need something that can easily explain to me how I can fix my problem.

I don't want to use iframes because I don't think it's really the best solution, however, I have many web pages on my website and so I would like to use div or something similar to iframes without actually using iframes. My other question would be is how would I open up web pages by clicking on a link to open in that "frame" instead of a new page.

If anyone could help me explain that would be great.

Thank you!
_b12ad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-23-2007, 09:27 AM Re: Div Css instead of Iframe
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
My first question is.. why do you want to open new pages inside such a 'frame' ?? Why avoid new pages ?

You can do what you describe with divs, but it will take some scripting to make it work.
__________________
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 08-24-2007, 10:32 AM Re: Div Css instead of Iframe
Novice Talker

Posts: 5
Trades: 0
I change my template designs constantly so don't want to have to change the design on every single page. I want to change it on my main page, for example index.html and have all my other pages open on the right side of my website when i click on links on my navigation menu which is located on the left side of my website.

I understand that it will take some scripting, and i'm very eager to learn because I really want to make this work for my website.

Thank you!

Last edited by _b12ad; 08-24-2007 at 10:37 AM..
_b12ad is offline
Reply With Quote
View Public Profile
 
Old 08-24-2007, 11:56 AM Re: Div Css instead of Iframe
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Soo... you don't want ALL your pages to be indexed by the search engine spiders - because doing what you propose will do just that - prevent the spiders from indexing those pages.

If you properly use CSS, then you can change an entire site by changing your CSS only, depending on how you do your layout.
__________________
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 08-24-2007, 02:49 PM Re: Div Css instead of Iframe
Novice Talker

Posts: 5
Trades: 0
I understand, all my page are actually index.html, they're all in their own directory's

Could you suggest any links that could benefit me in learning css and that is very easy to understand for starters like me?

Thank you!
_b12ad is offline
Reply With Quote
View Public Profile
 
Old 08-24-2007, 03:17 PM Re: Div Css instead of Iframe
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
a great online source would be http://www.w3schools.com/css/default.asp

Sitepoint has 2 great books that helped me learn ALOT:
http://www.sitepoint.com/books/html1/
and
http://www.sitepoint.com/books/css2/

You might also look into server side includes. They can be a little difficult to understand when you are a newbie, but basically, they pull in pieces of code from a file. When you use Server Side Includes (SSI's), you will ultimately achieve the same goal as using frames, but SSI's are much better to use than frames.
__________________

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

Last edited by angele803; 08-24-2007 at 03:20 PM..
angele803 is offline
Reply With Quote
View Public Profile
 
Old 08-25-2007, 07:23 PM Re: Div Css instead of Iframe
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
sorry WHAT?! why the hell ah ve you stuck all yopur pages in their own folder? if you want it to have your URLs like domain.com/about instead of /about.php it can be done with Mod Rewrite whcih is MUCH cleaner

OR a much simpilar way is to make it template based.

so i have it quite simple and have like

PHP Code:
$content 'this is the text which appears in the mnain content';
 
include (
'style/'.$style.'/template.php');
?> 
quite easy to do that way.
and quicker to make the pages

Dan
__________________
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 08-26-2007, 05:12 PM Re: Div Css instead of Iframe
mackaltman's Avatar
Super Talker

Posts: 135
Name: Mack Altman III
Location: Goose Creek, SC, USA
Trades: 0
If you are really not wanting iframes, but you still want the text and pages to be indexed. You could always use php includes which put a header and footer within the page. That would enable you to change just the header and footer and leave everything else the same.
__________________
Mack Altman III

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

My Biggest Pet Peeve: "Web Designers" who have no artistic skill.

mackaltman is offline
Reply With Quote
View Public Profile Visit mackaltman's homepage!
 
Reply     « Reply to Div Css instead of Iframe
 

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