SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   Website design help... (http://forums.sv650.org/showthread.php?t=75321)

Skip 27-07-06 06:38 PM

Website design help...
 
Right, my patience has been tested to the limit - so its over to you guys/gals please!!

I am building a basic site using Dreamweaver MX that uses three frames (I know people hate frames, but for this exercise its what works best I think) and no matter what I do I cannot get it to work in a browser (IE or Firefox) - it shows the frames but with no content :? Here is the code that Dreamweaver has created.

Code:

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
html>
head>
title>Lintott Control Systems | Intelligent MCC</title>
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
/head>

frameset rows="187,*,57" cols="*" framespacing="0" frameborder="yes" border="0">
  frame src="/banner.html" name="banner" frameborder="no" scrolling="no" id="banner" >
  frame src="/main.html" name="main" scrolling="auto" id="main">
  frame src="/footer.html" name="footer" frameborder="no" scrolling="no" marginwidth="0" marginheight="0" id="footer">
/frameset>
noframes><body>

/body>/noframes>
/html>

In the Dreamweaver software it is showing them as there, the structure of the site seems fine (all the pages are in the root folder) but do you think I can get it to display - can i f**k!!!! :evil: :evil: :evil:

Any ideas anyone :compcrash:

jonboy 27-07-06 08:00 PM

Zip all the pages up and send it to me.


.

Skip 27-07-06 08:33 PM

Thanks Greg - unfortunately I am at Mrs Skips at the moment and have no access to the files! Will send them tomorrow afternoon - thanks for your help in advance! 8)

socommk23 27-07-06 08:36 PM

grinch might be able to help.

jonboy 27-07-06 08:58 PM

Grinch is an idiot :lol: .


(Sorry Dan, only joking :wink: 8-[ )

TSM 27-07-06 10:01 PM

try, BTW when posting HTML that you dont want it to change, tick the 'Disable HTML in this post' under the posting window.
Code:

<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Lintott Control Systems | Intelligent MCC</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="187,*,57" framespacing="0" frameborder="yes" border="0">
  <frame src="/banner.html" name="banner" frameborder="no" scrolling="no" id="banner">
  <frame src="/main.html" name="main" scrolling="auto" id="main">
  <frame src="/footer.html" name="footer" frameborder="no" scrolling="no" marginwidth="0" marginheight="0" id="footer">
</frameset>
<noframes></noframes>
</html>


MattTheLoony 27-07-06 10:02 PM

Not sure if it is your posting or not but all the < in the first column appear to not be there.

Secondly, try taking the / off your links. So for example it's just "banner.html" instead of "/banner.html".

This will make it look for the pages in the same directory as your frames page instead of relative to the root of the site.


I know you pointed out that frames are frowned upon. A better way would be to use DIVs and CSS.

You haven't said what exactly appears in the frames. Is it exactly nothing? or is it some page cannot be displayed error?

If nothing then you may need to post the html of at least one of the other files.

TSM 27-07-06 10:07 PM

Quote:

Originally Posted by MattTheLoony
Secondly, try taking the / off your links. So for example it's just "banner.html" instead of "/banner.html".

Yep, adding a / means get file from base dir of site, also absolute link. So if the url of the page was http://xxx/dir1/mypage.htm and you had /image.jpg as your image link code then it would try and find it at http://xxx/image.jpg, this is called absolute links. You also got relitive links which are dir2/image.jpg or ./dir2/image.jpg, if you used this the url it would go and try to find the image would be http://xxx/dir1/dir2/image.jpg. You can also extend it to ./../dir2/image.jpg which would get the image from http://xxx/dir2/image.jpg, the .. making it travel back through the directory structure and the . telling it to start traversing folders starting from its current location.

See all simple now.

Skip 28-07-06 07:18 AM

Thanks everyone, I will be having another crack at it this afternoon... seems odd though that Dreamweaver would implement the links wrong - it has to be something I have done! :lol:

Jabba 28-07-06 07:27 AM

It does seen odd........I've found DW to be very reliable over the years.


I'll have alook at the dose when I get home this evening.


All times are GMT. The time now is 01:20 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.