Jump to content

Home

html help needed


Pad

Recommended Posts

im currently making a website for a big festival and have a question for you guys/girls. i made a logo to display on the intro page, but i want the lines to look like they are on my whole screen.

 

-----------------------------------------------------------------------------

example: http://www.liquisoft.com/

 

look at the lines in the middle, they are goin from left to right on the whole screen.

 

does anyone know how to do it? (i know i need to make an image i can past over and over again, but i dont know how to code it so its no larger as my screen size)

Link to comment
Share on other sites

That site from the link just seems to use a table for the images:

<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/splash/splashrepeater.gif" height="278">
 <tr valign="top" align="left"> 
   <td height="223"><a href="main.html"><img src="images/splash/splashimage_01.gif" width="62" height="278" border="0"></a><a href="main.html"><img src="images/splash/splashimage_02.gif" width="64" height="278" border="0"></a><a href="main.html"><img src="images/splash/splashimage_03.gif" width="103" height="278" border="0"></a><a href="main.html"><img src="images/splash/splashimage_04.gif" width="92" height="278" border="0"></a></td>
 </tr>
</table>

(Killer length. :D)

 

It shouldn't add scrollbars if it's in a table.

 

If you add a 'splash' page like the site, and only include needed information, there's less chance of scrollbars.

 

I think there's some Javascript to disable scrollbars, or that might be for just frames. :snear:

Link to comment
Share on other sites

or u could write a small interception page which allows them to select the res they want to view in

 

like my page does with colour

 

means alot more pages to write tho (in my case 6 :eek:)

 

easier to pick the most popular res and stick with it (1024x768 with computer geeks and 800x600 with normal people i believe)

 

heres my site so u can see

 

http://www.pclemow.fsnet.co.uk

 

the first page is there to push u onto "/site3" cos thats where the site is (dont ask ... just dont)

 

the second page lets u select the colour ... from there it splits into 6 sites ... if u look at the urls of the pages ... all identical cept background colour

 

its 1 way to do it ... tho im sure there are better 1's

Link to comment
Share on other sites

why don't you insert a cookie for the color with vbscript?

 

example (should work):

 

<SCRIPT LANGUAGE=VBSCRIPT>

CookieString = Document.Cookie

 

If CookieString = "" then

Document.bgcolor = "FFFFFF"

Document.cookie = "FFFFFF"

else

Document.bgcolor = CookieString

end if

 

Sub DocumentBGColorGreen_onClick()

document.bgcolor = "00FF00"

document.cookie = "00FF00"

End Sub

 

Sub DocumentBGColorBlue_onClick()

document.bgcolor = "0000FF"

document.cookie = "0000FF"

End Sub

 

Sub DocumentBGColorRed_onClick()

document.bgcolor = "FF0000"

document.cookie = "FF0000"

End Sub

</SCRIPT>

 

<DIV ID=DocumentBGColorGreen><u><font color="00FF00">Click Me to change color to GREEN</font></u></DIV>

<BR><BR>

<DIV ID=DocumentBGColorRed><u><font color="FF0000">Click Me to change color to RED</font></u></DIV>

<BR><BR>

<DIV ID=DocumentBGColorBlue><u><font color="0000FF">Click Me to change color to BLUE</font></u></DIV>

 

Any questions, just ask.

[EDIT: changed it where it was smaller...]

Link to comment
Share on other sites

cos i dont know how to do cookies

 

and until i get round to learning it for myself it'll have to stay like that

 

i was told at the time it would be easier to do a cookie ... but im stubborn :D

 

i havent changed that site in about 2 years but u never know i might get round to it

Link to comment
Share on other sites

It seems the background of the page is the same as the image:

 

If you click on the center / right area, you'll notice you can save the background as: splashrepeater.gif

 

That looks similar to the side banner, but plain and stretched as the background.

 

splashrepeater.gif

 

According to the source, the image is tiled as the background for the table:

 

<table width="100%" border="0" cellspacing="0" cellpadding="0" [b]background="images/splash/splashrepeater.gif"[/b] height="278">

Link to comment
Share on other sites

To make your menu stand alone (not be refreshed when clicked on) you need to use frames...they're very easy to use - you can have several frames on a page, so the top logo can stay static as well. just search for HTML frames on google or something.

 

You will need to cut your images up though. (to fit on different frames)

Link to comment
Share on other sites

hey Groovy, heres an example:

<HTML>

<HEAD><TITLE>your title</TITLE></HEAD>

 

<frameset rows="100,*" border=0 frameborder=0>

<frame src="title.html" name="title" NORESIZE scrolling=no>

 

<frameset cols="150,*" border=0 frameborder=0>

<frame src="nav.html" name="navbar" NORESIZE scrolling=no>

<frame src="main.html" name="content" NORESIZE scrolling=auto>

</frameset>

</frameset>

</HTML>

 

Remember that with your links you need to use the TARGET="" property... with the page that you want content to show as the target (in this case, its called 'content'). example of a link in the nav frame:

<A HREF="www.nowhere.com" target="content">link</A>

 

main.html is your main content frame.

title.html is your top banner.

 

save the above as "xxxxxx.html" and use this for linking to the page. ie:

<A HREF="http:\\http://www.dsfa.com\xxxxxx.html">my page</A>

Hope this helps! If you need any more info on HTML or vbscript, just ask!

Link to comment
Share on other sites

Originally posted by Darth Groovy

Hmm I like threads like this. How do I get my navigation on the left hand side, to stand alone like on your site pad? Here is my site: www.themanipulation.com

 

what do you mean with navigation stand alone groovy?

 

if you mean you click on your links and alone a certain space is loaded, its done with frames like samuel dravis. (btw, dont double post dravis)

 

Hope this helps! If you need any more info on HTML or vbscript, just ask!

indeed ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...