SunQuest
 
           Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old March 23rd, 2007, 08:43 PM
leev3 leev3 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 32 leev3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 9 sec
Reputation Power: 2
Href target

This may sound ridiculous, but can you have a menu choice open in a table. Lets say I have table "a" with nested tables "b" and "c" , "c" being my main body with text and info, can i have data from my menu bar open in "c" or do I just have to make a bunch of pages with similar parts?

Reply With Quote
  #2  
Old March 25th, 2007, 01:08 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 542 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 2 h 49 m 17 sec
Reputation Power: 3
tables as frames?

I'm unclear as to what exactly you're asking. You want to use nested tables for page layout that have the behavior of frames?
Niether tables nor frames are not such a good idea. You could use javascript to manipulate the DOM to change page content, or better yet, use a server-side script to create dynamic page content.

Reply With Quote
  #3  
Old March 25th, 2007, 08:02 PM
leev3 leev3 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 32 leev3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 9 sec
Reputation Power: 2
yes, you hit it on the head, i wanted to make a nested. table act like a frame. I'm pretty new to all of this , so I really have no clue what you mean by a server side script, but I have been reading the other forum about using css instead of tables, but again don't ahve the knowledge for that yet. So back to using crusty old style code.

Reply With Quote
  #4  
Old March 26th, 2007, 04:13 PM
leev3 leev3 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 32 leev3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 9 sec
Reputation Power: 2
Okay, I've gone ahead, with a lot of help from various articles and such, and made a table less site using CSS and divisions, so can I treat one of these divisions like a frame and have a url open in it as a target or just have abunch of pages set up the same?

Reply With Quote
  #5  
Old March 26th, 2007, 10:31 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 542 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 2 h 49 m 17 sec
Reputation Power: 3
pages

If the main idea for wanting to do this is so that all the pages within the site look consistent, that's a good thing. But as for not replicating code, there are various approaches. You could use javascript to dynamically change the content, but what if the user doesn't have javascript? Remember, search engines don't have javascript either, so they'll only see one page of your site. It's best to only use javascript to make something better for those with it, not to make the site impossible for those without. Server-side scripting languages, like PHP, can re-use code that's the same in each page, and create a new page dynamically using the different code where needed. For example a page could look something like
PHP Code:
<?php
include "top_section.php";
include 
"left_navgation_menu.php";
include 
"main_content_page1.php";
include 
"bottom_section.php";
?>
Where all the includes are the same for every page in the site, except for the content file.
But if you're still new to this, and your site doesn't have lots of pages, it probably would be best for you just make individual pages that look consistent, get your site live, and learn more as you can get to it.

Reply With Quote
  #6  
Old March 27th, 2007, 06:19 PM
leev3 leev3 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 32 leev3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 9 sec
Reputation Power: 2
Thanks for the reply, I have used PHP before, but mostly just for forms, didn't know it could be used like that. I'll take your advise and just make a bunch of similar pages an play later thanks again for the ideas and direction.

Reply With Quote
  #7  
Old May 15th, 2007, 07:54 AM
leev3 leev3 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 32 leev3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 9 sec
Reputation Power: 2
This is a different question on the same topic. With the advent of tabs, is there a way to target in a new tab or would it just be self, and you would have to adjust your browser settings?

Reply With Quote
  #8  
Old July 10th, 2007, 06:28 PM
damion damion is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 1 damion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 41 sec
Reputation Power: 0
Ok for not redoing all of your code i sugest makeing the main table (the one that will change) an Inline Frame (IFrame) that will make it were you only have one page with all your navigation and what not then when they select a link the i frame changes and the nav and what not stays the same this will stop the repetitive codeing

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Href target


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway