a just started i need help

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Oct 2006
Posts: 10
Reputation: mim3 is an unknown quantity at this point 
Solved Threads: 0
mim3 mim3 is offline Offline
Newbie Poster

a just started i need help

 
0
  #1
Oct 15th, 2006
ok i got a lot of question

what i need to have to use java scripts




whats css scripts how do i use it and what i need to have to use it



html: when i made a script how do i make a site with it exemple: www."********".com like that ppl can go and see what i made.

sorry if i posted in the wrong forum


thx for the answers : mim3
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 6
Reputation: Neo-Cruise is an unknown quantity at this point 
Solved Threads: 0
Neo-Cruise's Avatar
Neo-Cruise Neo-Cruise is offline Offline
Newbie Poster

Re: a just started i need help

 
0
  #2
Oct 15th, 2006
Hi,
you can insert JavaScript Scripts in every HTML Document.
Like this:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <body>
  4. <script type="text/javascript">
  5. alert("Hello World");
  6. </script>
  7.  
  8. </body>
  9. </head>
  10. </html>

That was answer number 1 :cheesy:

A short introduction is here:
http://www.w3schools.com/css/css_intro.asp


But I don't understand your last question.. :rolleyes:

Greets Neo-Cruise
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,311
Reputation: vishesh is on a distinguished road 
Solved Threads: 36
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: a just started i need help

 
0
  #3
Oct 15th, 2006
you can use javascripts in your page in two ways

1.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <body>
  4. <script type="text/javascript">
  5. <!-- your javascript code -- >
  6. </script>
  7. </body>
  8. </head>
  9. </html>

or

2.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <SCRIPT language=JavaScript src="filename.js"></SCRIPT>
  4. </body>
  5. </head>
  6. </html>

filename.js contains ur js code.

if you want to learn javascript you can read some good tutorials at:
www.pagetutor.com
www.w3schools.com
or search google for JavaScript Diaries -- its a good one

i am not writing the full url, you can make some effort to find em in the webpage.

CSS stands for Cascading Style Sheets. With these you can make your webpages more intractive and beautify it even more. Visit
www.w3schools.com for a good css tutorial.

well! what was your last question, i didn't understood it well. make it more clear.

vishesh
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 10
Reputation: mim3 is an unknown quantity at this point 
Solved Threads: 0
mim3 mim3 is offline Offline
Newbie Poster

Re: a just started i need help

 
0
  #4
Oct 15th, 2006
like i made html script then i go to internet to file and press open to open my script, how i get the link to my script like that i can give the link to my friends and my friend can view my scripts "site".


is it better :rolleyes:
Last edited by mim3; Oct 15th, 2006 at 5:32 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 10
Reputation: mim3 is an unknown quantity at this point 
Solved Threads: 0
mim3 mim3 is offline Offline
Newbie Poster

Re: a just started i need help

 
0
  #5
Oct 15th, 2006
can i get a answer plz
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 6
Reputation: Neo-Cruise is an unknown quantity at this point 
Solved Threads: 0
Neo-Cruise's Avatar
Neo-Cruise Neo-Cruise is offline Offline
Newbie Poster

Re: a just started i need help

 
0
  #6
Oct 16th, 2006
Hm...
I am from Germany and I'm very young, so my english isn't very good.
But I think I know what you want.

You have the 'Home' Site:

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <body>
  4. Welcome to my Page
  5. </body>
  6. </head>
  7. </html>
You want to insert a link to another page?

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="file.html">The Link Text</a>

Or do you want to show the script of the page?


Greets Neo-Cruise :rolleyes:
Last edited by Neo-Cruise; Oct 16th, 2006 at 9:18 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 92
Reputation: NuGG is an unknown quantity at this point 
Solved Threads: 1
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

Re: a just started i need help

 
0
  #7
Oct 16th, 2006
Originally Posted by mim3 View Post
html: when i made a script how do i make a site with it exemple: www."********".com like that ppl can go and see what i made.
Huh? you cant make a website with a script. normally you use javascripts to do something that html cant, such as changing the background colour every 10seconds, or for form validation, etc.

NuGG
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,311
Reputation: vishesh is on a distinguished road 
Solved Threads: 36
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: a just started i need help

 
0
  #8
Oct 16th, 2006
well first of all differ with JavaScript and HTML. They both are different so don't use HTML script it confuses me, use HTML code instead, looks better, huh.

i think what you mean to say that you want a text which could be clicked to go to any web page or you mean your page. Some thing like this
Google

Ok let me first introduce with <a> tag or anchor tag. It generally used to make hyperlinks (such as shown Google example).

the syntax for that is
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="filename.ext">Your link title</a>

a is as i told u before is anchor tag. In href attribute you write the url to the file(with extension of course) you wanna link.

for example you have file new.zip in the directory. Then you can make a link by
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="new.zip">New Zip File</a>
if same file is under folder1 subdirectory then u use
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="folder1/new.zip">New Zip File</a>
else if the same file is one level above i mean to say one directory up then
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="../new.zip">New Zip File</a>
similarly for 2 directory up then
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="../../new.zip">New Zip File</a>

Now if you want to link a webpage simply write the webpage address:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="new.html">Webpage</a>



hope you understand what i have explained. if u want to learn more about html language just go to
www.pagetutor.com
www.w3schools.com
They have some best web tutorials.

and if still don't understand something daniweb is always open.

vishesh
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 10
Reputation: mim3 is an unknown quantity at this point 
Solved Threads: 0
mim3 mim3 is offline Offline
Newbie Poster

Re: a just started i need help

 
0
  #9
Oct 16th, 2006
nvm about the last question a made a new topic and you guys answerd already thx a lot
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: a just started i need help

 
0
  #10
Oct 16th, 2006
Answer to the last question...

You need to upload your filesd to a Web server.

You can either find a free Web hosting provider or purchase a domain name and a hosting plan.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC