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
Hi about my poker site.
Old 09-04-2008, 02:57 AM Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Hi I have this www.pokerhungry.com website and on the left hand side. I have 11 links on the left hand side. I have a couple of questions.

I have 11 links all .html links. And 11 pages all .html

I notice that if I wanted to add one more link I have to change ALL pages
home.html, introduction.html, advice&mistakes.html, flop-play.html, etc., and put the new links there on EACH page as well. Is there another way to do this? Is there a more effective way to do this? I'm pretty sure there is.

Thanks to anyone who can help.
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
 
Register now for full access!
Old 09-04-2008, 04:06 AM Re: Hi about my poker site.
Angelosanto's Avatar
Webmaster Talker

Posts: 554
Name: Danny Angelosanto
Trades: 0
Not without doing some scripting which usually isn't worth the hassle. The easiest way to do it (best if you're working in dreamweaver) is to use find and replace
__________________
"Those who believe in telekinetics, raise my hand."
-Kurt Vonnegut
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 09-04-2008, 09:56 AM Re: Hi about my poker site.
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
The best and easiest way is to use server side includes. I don't think SSIs are too much hassle. They make your life a lot easier in the long run.

Here is a good intro on SSIs: http://www.htmlgoodies.com/beyond/we...le.php/3473341

SSIs won't work on .html pages without some tweaking. If you can, it would be good to change the extensions of your pages. You will need to know what kind of server side language your server supports (ie. PHP, ASP, etc.).

It really isn't as hard as it first sounds!
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 09-04-2008, 07:38 PM Re: Hi about my poker site.
alex021's Avatar
Super Talker

Posts: 118
Name: Alex
Trades: 0
You do this using a frames or iframe. You can put an iframe into the cell of your table create and menu page with all your links and then just load the menu page into iframe. So when you add a link you will only will have to change the menu page see example below
<table style="width:750px; height:100%;">
<tr>
<td style="width:100%; height:100%;">
<iframe style="width: 750px; height:100%;" src="menu.html">
</iframe>
</td>
</tr>
</table>
__________________

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


Please login or register to view this content. Registration is FREE
---
Please login or register to view this content. Registration is FREE
---
Please login or register to view this content. Registration is FREE
alex021 is offline
Reply With Quote
View Public Profile
 
Old 09-04-2008, 07:46 PM Re: Hi about my poker site.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
You do this using a frames or iframe.
Noooooooooooooooooo.... frames and iframes are both bad. They're ok if you're in a time warp stuck in 1997!

Tables for layout is pretty ugly too.... learn to use CSS for layouts.
__________________
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 09-05-2008, 08:29 AM Re: Hi about my poker site.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I guess y'all don't need to hear how WONDERFUL I think frames are!!! They are the best invention EVER! Think about it, you can show a whole OTHER website inside of your website! Server-side includes are so 2002!
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-05-2008, 03:19 PM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
hAHAHA WAYFARER IS SO FUNNY. So what is the standard now a days in web development? SSI or Frame?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-05-2008, 03:37 PM Re: Hi about my poker site.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Server side code + javascript
__________________
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-05-2008, 03:47 PM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Yeah thanks for your response, I was thinking about using javascript but the website viewers have to enable it on their browser don't they for it to work?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-05-2008, 04:25 PM Re: Hi about my poker site.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
In almost every browser, JavaScript is enabled by default. In fact, it is very difficult to disable in IE, and only those who know what they are doing ever really do it. It is easier to do in Opera and Firefox, but it is still enabled by default, and those users tend to be more advanced anyway, and would probably know when to turn it back on in case they had it turned off.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-05-2008, 09:53 PM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Hi I'm not sure if you guys are familiar with appservnetwork but it is a package that allows you do look at php, apache, and mysql on your local machine.

I added some ssi code into a notepad file and put it in the www root, and it doesn't show. I saved it as a .html, and a .shtml.
<HTML>
<TITLE>Test File</TITLE>

<!--#config timefmt="%A" --> <!--#echo var="DATE_LOCAL" -->

</HTML>


meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-06-2008, 10:13 PM Re: Hi about my poker site.
Novice Talker

Posts: 14
Name: Peter
Trades: 0
It is a pain. I have had that problem many times with some of my sites.

My advice, wait till you have some free time and just do it manually.
__________________

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


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


Please login or register to view this content. Registration is FREE
peter250 is offline
Reply With Quote
View Public Profile Visit peter250's homepage!
 
Old 09-06-2008, 10:26 PM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
What is the standard now-a-days though?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-06-2008, 10:34 PM Re: Hi about my poker site.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Definately SSI.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-08-2008, 01:38 AM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Ok one of the guys posted that I should use CSS and JavaScript. I went through all the tutorials on the w3school website, and it did not teach me anything about making links dynamic.

I also am half way through JavaScript on the w3school website and it isn't teaching me anything but basic concepts like when I studied C++. It's just teaching me about the language. Operators assigning values to variables like textd="dumb" stuff like that. Any other suggestions?

Also I tried doing SSI but I installed APPServ on my computer and basically apache is on and everything, saved the SSI file to my www folder on my machine and the SSI codes don't work so I think SSI is garbage, it's too hard to even set up I think.

Any other suggestions please?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-08-2008, 03:45 AM Re: Hi about my poker site.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Also I tried doing SSI but I installed APPServ on my computer and basically apache is on and everything, saved the SSI file to my www folder on my machine and the SSI codes don't work so I think SSI is garbage, it's too hard to even set up I think.
Ok then you're right, hundreds of thousands are wrong, lets all stop using SSI!
__________________
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-08-2008, 03:59 AM Re: Hi about my poker site.
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
I'm still learning all this stuff and it can seem a little confusing but it isn't that difficult.

A a server side include (SSI) is effectively a link to a file that contains the code.

For you it could look something like
Code:
<? include($_SERVER['DOCUMENT_ROOT'].'/assets/links.js); ?>
Rather than having the code on each page (which would mean updating each page manualy) you only update the file the SSI links to, one file instead of 11 or 12.

You dont have to change all your file extensions from .html to .php if you dont want (as this would probably impact on your SE results) - ask your host to set up your hosting to parse .html as php

this is probably a better example for you
Code:
<!--#include virtual="/links.html"-->
Hope this helps a little
__________________

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


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


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

Last edited by bakerc; 09-08-2008 at 04:25 AM.. Reason: added simpler example
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 09-08-2008, 06:01 AM Re: Hi about my poker site.
Experienced Talker

Posts: 47
Name: Katie
Trades: 0
Server side includes is the way to go, easier to up date and maintain and also you don't have to change each page each time you make a change.
__________________

Please login or register to view this content. Registration is FREE
webdesignernew is offline
Reply With Quote
View Public Profile
 
Old 09-09-2008, 12:00 PM Re: Hi about my poker site.
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Can someone help me break down the SSI code I am having difficulty understanding. Baker C your code looks like half javascript and half php, is this true?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-09-2008, 02:17 PM Re: Hi about my poker site.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
There is nothing to it, really. Say you are using PHP (this is on most web-servers these days, so it's an easy example). Now, lets make a super-simple HTML page with a server-side include in it:
PHP Code:
<html>
<head>
<title>SSI</title>
</head>
<body>
<p>Hello World</p>
<?php include "includes/goodbye.html";?>
</body>
</html>
Now, lets say the file at includes/goodbye.html is this:
HTML Code:
<p>Goodbye World!</p>
Now, the HTML that is outputted to the browser from your original file would be this:
HTML Code:
<html>
<head>
<title>SSI</title>
</head>
<body>
<p>Hello World</p>
<p>Goodbye World!</p>
</body>
</html>
Of course, you could put as much stuff inside of includes/goodbye.html as you like, and it would all take the place of <p>Goodbye World!</p> in the example above.

Hope this helps.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 09-09-2008 at 05:40 PM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to Hi about my poker site.

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