Total newb question....soryy!!

This is a discussion on "Total newb question....soryy!!" within the Web Page Design section. This forum, and the thread "Total newb question....soryy!! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 27th, 2005, 18:32
New Member
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Total newb question....soryy!!

Hi there!!

Been over to W3 schools looked at their HTML tutorials and currently i'm in notepad doing some very basic stuff. What i'm doing is trying to build a VERY basic page, no links or anything just centered text, different fonts and what ever else i think i can do!!

So here's my question, i wanted to insert an image from a file on my pc, so i typed something like this

<img src="c:\documents and settings\myname\my documents\mypictues\name of picture.jpg>

Is this correct? Cos when i open the .htm file with firefox i just get that little box with the icon in the top left corner, and no picture. All the other text is correct!!

Cheers for putting up with silly newb questions............

  #2 (permalink)  
Old May 27th, 2005, 19:35
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
is that the exact path to the file? also, you need to make sure you have the closing " before the >
  #3 (permalink)  
Old May 27th, 2005, 19:38
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
hi there

firstly i dont think any1 shud be worried about posting noobie questions - even the administrators at one point had 1 posts and also knew nothing about html and the such forth.

anyway (going off topic!) the answer to you problem is so-

in the example u gave
Quote:
<img src="c:\documents and settings\myname\my documents\mypictues\name of picture.jpg>
you used a backslash. thats the problem. change them to a forward slash and walla! problem solved.

eg
Code: Select all
<img src="c:/documents and settings/myname/my documents/mypictues\name of picture.jpg>
The reason you had the problem was because \'s are used for files wheras /'s are used for webpages. not sure why there should be any diff but who really cares. tht shud work 4 u in any case
  #4 (permalink)  
Old May 27th, 2005, 20:30
New Member
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Nice one, cheers guys!!

Having read up a bit more, and phoned my mate who's into the web stuff, he's called round earlier with a copy of Dreamweaver, as i've seen a few people say they use this.

So off i go messing around. I've created two basic pages, linked them, done the email thing, and got pictures on!!

Next question, how do ya get audio to play on a site?.........oh and where can i get a load of decent fonts?

  #5 (permalink)  
Old May 27th, 2005, 20:42
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
no prob

there are a few ways of doing it. the most obvious way is to do this
Code: Select all
Click here to play music
tht will open up in media player and play it

however, a better way is to embed the music. it will play without you seeing it or media playing pooping up basicly.

Code: Select all
<embed src=misic.wav autostart=true hidden=true>
and in responce to your font question. the best bet is just to whack somthing into google. however if ur going to use the font ona webpage dont. because if you were to get a cool font that looks ace on your site when you upload your site chances are other people will think its rubbish. because they may not have the font installed on their machine so it will go to the default font.
basicly use the normal fonts so what you see on your screen will be the same as every1 elses.
  #6 (permalink)  
Old May 28th, 2005, 07:46
New Member
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Geeeee thanks guys!!


In the ccode you've described for the embedded music, i presume after the src= bit you specify the location of a wav file on your pc? Does html just support wav files then? And is there any particular place in the code it should go? At the top before other commands?

In response to the font thing..............i see what you mean!! I was initially thinking about fancy titles and stuff at the top of your page, but i suppose they're done in photoshop etc!! (doh!)

Thanks for ya help............more questions later!!
  #7 (permalink)  
Old May 28th, 2005, 08:25
New Member
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there me again!!


I typed in this
Code: Select all
<embed src="C:/Documents and Settings/andy/MyDocuments/Me2.wav" autostart=true hidden=true>
But it didn't work....any ideas? The location is correct, the file does play in media player (outside of dreamweaver!) so it's not corrupt
  #8 (permalink)  
Old May 28th, 2005, 09:02
New Member
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Well the adventure continues.............

Tried everything, couldn't get it to work, well kinda! I tried opening up the saved page in Firefox, it told me i needed to install missing plugins to play the media on the page; Quicktime ver. whatever. I already have Quicktime on my pc........hmmmmmmmmmm.

So i get to thinking...so i opened up the page in I.E instead, low and behold it worked, with the music.

So this brings another issue to the table, browser compatibility!!! ( then of course i may want a volume control onscreen incase people find the music annoying!!)
Every day's a school day!! :wink:
  #9 (permalink)  
Old May 28th, 2005, 14:58
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
hmmm

well browser compatability is a real issue. firefox doesnt, at leats i think not, doesnt let you embed music into a page.

you could however try use this
Code: Select all
<embed src="song.mp3" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="song.mp3" loop="infinite">
</noembed>
dont reley on that tho - ive not had time to test it and im not too sure bg sound is supported either.

i found a link tht maight be helpful, it has all the differnt ways of doing the code and explains them in a simple way.
http://www.phon.ucl.ac.uk/home/mark/audio/play.htm

see if tht helps.
your question about the volume bar - i dont think u can unless you have the play slider with it aswell, with the play buttons etc. i think it looks unproffesional so i would avoid it.
a good alternative is to use flash to hold all your music. im sure you could make a flash file that just had a volume bar. ask some of the guys in the flash forum
a plus to this is the compatability. very few browsers dont support flash. so its a safe bet

hope tht helps
Closed Thread

Tags
total, newb, questionsoryy

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Problem in HTML-newb question partyon Web Page Design 2 Jun 6th, 2008 00:18
Total Beginner, Stupid Question andyman1016 Flash & Multimedia Forum 1 Aug 2nd, 2007 18:09
Newby newb question on using image genista Web Page Design 5 Jul 17th, 2007 12:39
Total beginner here.. Sofie Introduce Yourself 17 May 22nd, 2006 10:49
Total Newbie DHTLM Menu in <td> question Paulo Introduce Yourself 2 Mar 9th, 2006 14:27


All times are GMT. The time now is 03:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43