Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 need html code

views
     
etsuko
post Feb 20 2006, 09:44 AM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


LOL! try the one controlled via CSS as suggested by goldfires.

It was funny scrolling down and seeing who actually would finally speak up on the CSS method. tongue.gif
eyeball
post Feb 20 2006, 12:12 PM

Casual
***
Junior Member
481 posts

Joined: Sep 2005
From: Kuala Lumpur



use frontpage ... right click .. properties ... click on watermarked background ..

i think thats what u want .
kokanchai
post Feb 20 2006, 12:47 PM

On my way
****
Senior Member
645 posts

Joined: Dec 2005
From: -----Somewhere Down to Earth-------

it really cool..

with wat rusty nail mention that coding..
<body background="yourimage.gif" bgproperties="fixed">

try it out..it work!
notworthy.gif notworthy.gif
goldfries
post Feb 20 2006, 12:56 PM

40K Club
Group Icon
Forum Admin
44,415 posts

Joined: Jan 2003




QUOTE(kokanchai @ Feb 20 2006, 12:47 PM)
it really cool..

with wat rusty nail mention that coding..
<body background="yourimage.gif" bgproperties="fixed">

try it out..it work!
notworthy.gif  notworthy.gif
*
that one works, but bad choice my friend.

did you know why Etsuko also seconded that CSS solution instead of the one using the BODY tag?
kokanchai
post Feb 20 2006, 02:40 PM

On my way
****
Senior Member
645 posts

Joined: Dec 2005
From: -----Somewhere Down to Earth-------


huh?why?

explain it please..

i tho this is the easy way..to do it..
TSakira de aimbuster
post Feb 20 2006, 02:49 PM

しごと~
*******
Senior Member
3,500 posts

Joined: Jan 2003


QUOTE(Rusty Nail @ Feb 20 2006, 09:33 AM)
i remember using these HTML codes way back in my notepad days
the code that you need to add is
<body background="yourimage.gif" bgproperties="fixed">
important property is bolded.

http://www.pageresource.com/html/fixedbg.htm
http://www.developingwebs.net/html/fixedbackground.php
*
done smile.gif
thanks
goldfries
post Feb 20 2006, 03:04 PM

40K Club
Group Icon
Forum Admin
44,415 posts

Joined: Jan 2003




QUOTE(kokanchai @ Feb 20 2006, 02:40 PM)
i tho this is the easy way..to do it..
*
EASIEST doesnt mean it's the BEST. and in the long run, it's actually the WORSE way.

look at what Rusty mentioned "i remember using these HTML codes way back in my notepad days"

in the past, MSIE was probably the only browser the majority use. so that's fine. but nowadays, there's many other browsers. that code just won't work, Firefox won't work with that BGPROPERTIES thingy too. smile.gif

that BGPROPERTIES code only works with MS Internet Explorer as it runs based the BGPROPERTIES extention for MSIE.

http://developertutorials.com/html-guide/d...PROPERTIES.html


and 2nd thing. now how many pages do you have? 1? 5? well changing that isn't a problem for you i guess. what if you have 20? pages?

every time you decide to change the background - you'll have to change 20 files. sure you can use crimson editor to open and do mass replace. fine. but again it still works on IE and you'll have to do 20 changes and if you do mass-replacement you'll have to make sure other codes are not affected. you also have to check if all 20 pages are changed, saved and updated.

by using CSS. you not only manage to get it to work with Firefox (Mozilla based) and other browsers. anytime you wish to change the image, just change the filename in the CSS file and all 20 pages are updated.

so which is the smarter way? smile.gif which is the easier way? smile.gif
the CSS way IS the easier and the smarter way.
etsuko
post Feb 20 2006, 05:52 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


*nod nod* like what ^- he said.. LOL tongue.gif

anyway, I'm wondering if colleges are still just teaching basic tables and lecturers not caring about website standards.

everyone should learn CSS.. it might not be as easy as tables at first, but you'll see the other differences or advantages as mentioned above. smile.gif

Cheers.
Rusty Nail
post Feb 20 2006, 05:56 PM

Why am I still here?
*******
Senior Member
4,880 posts

Joined: Jan 2003
From: Petaling Jaya



^i see...
thanks for the enlightenment. i'll keep that in mind. smile.gif
ikram_zidane
post Feb 20 2006, 06:35 PM

Casual
***
Junior Member
489 posts

Joined: Dec 2004
From: malaysia


i think css will do it...
CODE
body { background-image: url(image.jpg); background-repeat: no-repeat; background-position: bottom right; }

or
CODE
background-attachment: fixed;


here the source code for the panda background..
CODE
body {
background-image: url(Media/Panda_request_by_ilona.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #9FBA8F;
}


This post has been edited by ikram_zidane: Feb 20 2006, 06:36 PM
TSakira de aimbuster
post Feb 21 2006, 09:02 AM

しごと~
*******
Senior Member
3,500 posts

Joined: Jan 2003


Hi all,new question updated >.<
etsuko
post Feb 21 2006, 09:49 AM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


QUOTE(akira de aimbuster @ Feb 19 2006, 11:24 PM)
NEW PROBLEM: I know we can put background mucis into our webpage. However it will restart everytime i click on other link to another page of my website. ANyway to make it keep playing the same song,as long as the visitor is inside my webpage? What is the code for it?
*

Yes, it will always restart when you load another page unless you put it in a frame on its own and it'll loop annoyingly for every person to hear.

Placing background music into a website is so so.. 5-10 years ago..? But if you feel everyone would love the music you love and wouldn't mind listening while reading your content, then it's your choice.
goldfries
post Feb 21 2006, 11:22 AM

40K Club
Group Icon
Forum Admin
44,415 posts

Joined: Jan 2003




QUOTE(etsuko @ Feb 21 2006, 09:49 AM)
Placing background music into a website is so so.. 5-10 years ago..? But if you feel everyone would love the music you love and wouldn't mind listening while reading your content, then it's your choice.
*
yes. those were the days where using IE and embedding midi files on it makes a page looks uber cool.

nowadays you'd better make sure your loops have a STOP function or else most people will reach and turn away once the figured out they can't off it.

yeah i know there's the VOLUME button, but it's really damn annoying. why should i turn off my volume just to view your website? smile.gif and what if i was listening to my fav MP3 files and reaching your site it's just mixing up all the sound and arrgggh - i have to stop my listening to view your site - NO WAY. smile.gif

so there ya have it. you've come by another part of web-design - put viewers into consideration.

embedding music files could make or break a site. really.

if you wish to do it. maybe have a few tunes (relaxing ones, techno just doesn't seem right tongue.gif) or even if you wish to have only 1 tune - always remember the OFF button.

don't force the user to listen to what you place on the site. again if you bring in 'volume control' to counter this, please read the above again. smile.gif why should a user go through all the hassle and sacrifice his activity just to view your site. right?

btw if you do have music embedded, do show us how it looks like so we could help you make a better site.

oh, and your site. the 2 banners on top are just too big. i'm viewing at 1024x768 and once i enter your site all i see are banners and i have to scroll down to see something.

at present, your site looks more like something that's done on a single HTML file rather than a blog engine. anyway, keep it up.
TSakira de aimbuster
post Feb 21 2006, 12:47 PM

しごと~
*******
Senior Member
3,500 posts

Joined: Jan 2003


Hmm...I just think about it,not really want to use it smile.gif
For example i wont really use the locked backgroud...Not now yet
I try to think anything that is possible to make the site wonderful.

So any good idea that is special?
etsuko
post Feb 21 2006, 08:02 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


Special.. hmm.. anything Web 3.0 will be special.. LOL

You know what'll be special coming from a person who's learning to do websites properly..

a fully validated and website standards site that is usable and accessible.. *dreams*
TSakira de aimbuster
post Feb 28 2006, 12:06 AM

しごと~
*******
Senior Member
3,500 posts

Joined: Jan 2003


a new question, how to make a picture change to another picture when cursor moved on it?

For example a button...(in html please ><)
sinx
post Feb 28 2006, 10:20 AM

New Member
*
Junior Member
15 posts

Joined: Aug 2005


QUOTE(akira de aimbuster @ Feb 28 2006, 12:06 AM)
a new question, how to make a picture change to another picture when cursor moved on it?

For example a button...(in html please ><)
*
Sample Code:

CODE
<img src="Default_Image.gif" onmouseover="this.src='Other_Image.gif'" onmouseout="this.src='Default_Image.gif'">



etsuko
post Feb 28 2006, 12:35 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


QUOTE(akira de aimbuster @ Feb 19 2006, 11:24 PM)
a new question, how to make a picture change to another picture when cursor moved on it?

For example a button...(in html please ><)
*
there's the ol Javascript method..

or the more modern LI menus accompanied with the CSS properties a:link and a:hover states.
TSakira de aimbuster
post Feb 28 2006, 12:49 PM

しごと~
*******
Senior Member
3,500 posts

Joined: Jan 2003


QUOTE(etsuko @ Feb 28 2006, 12:35 PM)
there's the ol Javascript method..

or the more modern LI menus accompanied with the CSS properties a:link and a:hover states.
*
Is this the old method you mean?
QUOTE(sinx @ Feb 28 2006, 10:20 AM)
CODE
<img src="Default_Image.gif" onmouseover="this.src='Other_Image.gif'" onmouseout="this.src='Default_Image.gif'">

*
etsuko
post Feb 28 2006, 03:10 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


That's Javascript for you..

 

Change to:
| Lo-Fi Version
0.0172sec    0.33    5 queries    GZIP Disabled
Time is now: 25th November 2025 - 10:07 PM