Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
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 September 16th, 2003, 02: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, 01: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: 6
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, 03: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 17th, 2003, 11:08 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
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, 05: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: 6
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, 03: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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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

Iron Speed




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