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
What is the best way to switch between pages
Old 09-24-2010, 07:41 PM What is the best way to switch between pages
Novice Talker

Posts: 8
Trades: 0
Hi all,
What is the best way to switch between pages ??
Possible that the pages are text, .html, .php !
For example, as in the picture



Thanks
issam-rrr is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-26-2010, 06:27 PM Re: What is the best way to switch between pages
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<a href="/folder/page.ext" title="Title" >Got to THIS page</a>
Is usually the simplest method.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-26-2010, 06:50 PM Re: What is the best way to switch between pages
Banned

Posts: 4,083
Trades: 0
Quote:
Originally Posted by chrishirst View Post
HTML Code:
<a href="/folder/page.ext" title="Title" >Got to THIS page</a>
Is usually the simplest method.
Pro HTML skills.
dWhite is offline
Reply With Quote
View Public Profile
 
Old 09-26-2010, 06:54 PM Re: What is the best way to switch between pages
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's just the typing skills that are lacking
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-27-2010, 03:29 AM Re: What is the best way to switch between pages
Novice Talker

Posts: 8
Trades: 0
No No ....
I know this .....
But I want to navigate between pages with a list .....

As an example: I use this method

In content box I use
PHP Code:
<?PHP
switch ($p){
    default :
        include (
"home.html");
        break;
    case 
home:
        include (
"home.html");
        break;
    case 
about_us:
        include (
"about_us.html");
        break;
    case 
contact:
        include (
"contact.html");
        break;
?>
In menu I use

HTML Code:
<a  href="?p=home">Home</a>
<a  href="?p=about_us">About Us</a>
<a  href="?p=contact">Contact</a>
Is this the right way

Thanks ....
issam-rrr is offline
Reply With Quote
View Public Profile
 
Old 09-27-2010, 03:57 AM Re: What is the best way to switch between pages
Novice Talker

Posts: 5
Name: Merlin Pieters
Trades: 0
that's the way I would do it.

you could use an iframe alternatively which would mean cleaner refreshing

but might not be compatible with some older browsers.

generally I think the way you are doing it is the best way for sure.
__________________
Discover the little known secrets to mastering html in under 7 days with my new free course

Please login or register to view this content. Registration is FREE
merlinpieters is offline
Reply With Quote
View Public Profile
 
Old 10-04-2010, 03:00 PM Re: What is the best way to switch between pages
Novice Talker

Posts: 6
Name: Jibin Padmanabhan
Trades: 0
why you people are making things complicated!!!
HTML menu is the best way to navigate pages.
Please go to php forum for php related discussions.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
jibin is offline
Reply With Quote
View Public Profile Visit jibin's homepage!
 
Old 10-04-2010, 09:05 PM Re: What is the best way to switch between pages
Skilled Talker

Posts: 52
Name: Alex
Trades: 0
include ($p.".html");
elf2002 is offline
Reply With Quote
View Public Profile
 
Old 10-04-2010, 09:29 PM Re: What is the best way to switch between pages
inklight's Avatar
Average Talker

Posts: 19
Name: Salem
Trades: 0
you are includign static HTML pages with some php variable ..
to use it again in php link that render HTML static page !
you have miss something important here
Code:
<a  href="?p=home">Home</a>
if you want it PHP make it like this
PHP Code:
<a  href="<?php $p=home ?>">Home</a>
as chrishirst said the something that switch between page are
HTML Code:
<a href="#"  ></a>
attribute
__________________

Please login or register to view this content. Registration is FREE
inklight is offline
Reply With Quote
View Public Profile
 
Old 10-05-2010, 12:14 AM Re: What is the best way to switch between pages
Average Talker

Posts: 21
Trades: 0
You can make it in a simple way and not too much complicated. You can use html to navigate pages.
__________________

Please login or register to view this content. Registration is FREE
creamery is offline
Reply With Quote
View Public Profile
 
Old 10-05-2010, 12:06 PM Re: What is the best way to switch between pages
Experienced Talker

Posts: 38
Trades: 0
I would definately use HTML, it makes the URL much cleaner and is just generally easier
__________________
I am thewebtaylor!! Website design, SEO and marketing.


Please login or register to view this content. Registration is FREE
thewebtaylor is offline
Reply With Quote
View Public Profile
 
Old 10-06-2010, 05:37 AM Re: What is the best way to switch between pages
Novice Talker

Posts: 8
Trades: 0
Thanks all..

Quote:
Originally Posted by jibin View Post
why you people are making things complicated!!!
HTML menu is the best way to navigate pages.
Please go to php forum for php related discussions.
I'm not looking for complexity
Is there a way to HTML to make a list of side effects continue to exist when moving between pages.

Quote:
Originally Posted by creamery View Post
You can make it in a simple way and not too much complicated. You can use html to navigate pages.
How ??
issam-rrr is offline
Reply With Quote
View Public Profile
 
Old 10-07-2010, 05:04 AM Re: What is the best way to switch between pages
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I'm not looking for complexity
Is there a way to HTML to make a list of side effects continue to exist when moving between pages
Right! so now we get to know what you are actually after.

In HTML framesets or iframes or the ONLY way you can accomplish that.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to What is the best way to switch between pages
 

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