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:
  #1  
Old September 16th, 2003, 03:50 AM
sylvano sylvano is offline
sylvano3
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Mannheim
Posts: 12 sylvano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Stylesheet instate Frames

Hi all :-)

i have a web application using DHTML menus (hiermenu).
i do not want to use frames. i want to use stylesheets but i don't know how to do it.
for example:

when i select a link in my menu , i want to become it on the
same page but i want that the menus stay unchanged in the top
of the page(HOME).

do any one has some ideas?
thanks
sylvano

Reply With Quote
  #2  
Old September 17th, 2003, 02:54 AM
thecharking thecharking is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 187 thecharking User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to thecharking
how I would do it

okay so there a re a few ways that I can think of to do this.

1.The best way, in my opinion, would be with php. I like php. You can make an idnex.php page and use includes like this:

<?php
if ( isset( $_GET['page'] ) )
{
switch( $_GET['page'] )
{
case 'usercomments';
include("profiles/usercomments.php");
break; } }
?>

Doing this in <div's>, which can be done with a stylesheet, or just in the page, can let you define different areas by passing $page through the url.

2.Php may not be the most practical solution though. So without frames, try inline frames, or <iframes>. This can be done this way:

<iframe></iframe>

you can find specifications for this at:

htmlhelp.com

There are probably better resources but I just thought of this first.
With inline frames, you can specify smaller pages to be set in bigger pages; it's much like the php include function.

Aside ffrom those two, I don't many others. Anyone else wants to add, or correct me, have at it. Hope this wasn't too lengthy.
__________________
hey it's the CHARKING

Reply With Quote
  #3  
Old September 17th, 2003, 04:11 AM
sylvano sylvano is offline
sylvano3
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Mannheim
Posts: 12 sylvano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Stylesheet instate Frames

tanks for your help , i will try and say you if it works

sylvano

Reply With Quote
  #4  
Old September 18th, 2003, 12:08 AM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 36 sec
Reputation Power: 8
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
Cool

What I do is I set up my stlye sheet with classes.
Code:
.navigation
 {
   postion: absolute;
   top: 1px;
   left: 1px;
   width: 50px;
   height: 50px;
 }
.content
 {
   postion: absolute;
   top: 1px;
   left: 51px;
   width: 500px;
   height: 500px;
 }

Save the stylsheet as css file(filename.css)
Then in my page
Code:
<html>
<head>
 <title>Title</title>
 <link rel="stylesheet" type="text/css" href="filename.css" />
</head>
<body>
 <div class="navigation">
  <!-- This is your navigation area -->
 </div>
 <div class="content">
  <!-- This is where your content goes -->
 </div>
</body>
</html>
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #5  
Old September 18th, 2003, 06:14 PM
thecharking thecharking is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 187 thecharking User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to thecharking
oh yah, duh. even asked for style sheet. thanks for adding that. THAT is the best way.

Reply With Quote
  #6  
Old September 19th, 2003, 04:11 AM
sylvano sylvano is offline
sylvano3
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Mannheim
Posts: 12 sylvano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Stylesheet instate Frames

hi thank you for u're help
it works now.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Stylesheet instate Frames


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek