Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jonnn
  • Content: Threads
  • Order by date
  1. Jonnn

    Showing the time

    I have the following script to show the time on my webpage function show_time() { var todays_date = new Date(); // gets current time and date var get_month = todays_date.getMonth(); var month_string = month[get_month]; // Month in a string var get_dom = todays_date.getDate(); var...
  2. Jonnn

    Pinpointing your stylesheet through JS

    How do i locate my stylesheet throught JS? Can you use JavaScript in your stylesheet? I would like to make my background of my image highlight blue when i put my mouse over it. I have alot of images. Is there any way that can save me defining the function for the onmouseover for every image...
  3. Jonnn

    Measurements double in I.E?

    I am defining measurements such as the margin-left attribute of a div. It is doubling in I.E therefore making it 2x the size. Is this meant to be happening? Does I.E handle measurements differently to FF? I have also noticed that "Headings" seem to be much bigger in I.E than FF...
  4. Jonnn

    Firefox support for background properties

    Does FF support any of these... background-position-x: 580px; background-position-y: 20px; background-repeat: repeat-y; JavaScript Beginner at work :)
  5. Jonnn

    Recommeneded Tutorial / Book for learning CSS

    Can anyone suggest any really good css layout tutorials or any good books i can rent from the library? I have been down and spoke to an assitant, and told them to search the keyword "css". After many results. I decided to order the book ... Eric Meyer on CSS, Mastering the language of Web...
  6. Jonnn

    Padding problem ...

    I have this code... <html> <head> <style type="text/css"> div.container { width: 100%; border: 1px dotted blue; } div.header { width: 99%; background-color: gray; border: 1px ridged black; color: white; font-family: verdana; font-size: 22px; margin-bottom: 0.3cm; padding: 0.1cm; }...
  7. Jonnn

    Music player problem

    Hello, i have a problem with my music player. I want to add like a playlist to my music player. But i cannot find a way of changing the song to another when you press the "next" button. I have tried everything. Made an array var x=0; var music_choice = new Array(); music_choice[x] =...
  8. Jonnn

    Strict XHTML Transitional 1.01 Line Break?

    How do you break a line. I usually use " <br/> " but now this is not aloud when using this strict DTD. Any help much appreciated, Thanks! Jon JavaScript Beginner at work :)
  9. Jonnn

    xhtml strict 1.01

    How the hell do you align Paragrahs etc??? JavaScript Beginner at work :)
  10. Jonnn

    Linking Doctype Problems

    Hello, i am trying to use the Doctype : XHTML Strict 1.01 I cannot seem to link it up properly ... Here is my code... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <HTML> <HEAD> <title> Ormskirk Football Club </title> </HEAD>...
  11. Jonnn

    Firefox / Internet Explorer

    Why will a javascript application work with I.E but not with Firefox? I have a problem with saving cookies via a website using Firefox, but with I.E, it is not a problem... I have my cookies enabled on Firefox yet they still fail to save... Any advice appreciated :- - Jon JavaScript...
  12. Jonnn

    Is a DocType really necessary?

    I have made a website for my pool team. I have been told that it is important that i have a Doc Type. Ive spent so long designing it that when i link my page to a doc type many changes occur on my page, size of font colour and much more. Why is a doc type so neccesary? Jon . JavaScript...
  13. Jonnn

    Cookie Problems

    I have been working on a cookie ... When you go on my website for the first time it will ask you to select your profile. After doing so, it saves a cookie with the name of your profile inside it. Everytime you go back to the page, it checks whether or not the cookie with your profile name...
  14. Jonnn

    Changing the background of the cell

    i want a user to go onto my website, and when they go onto my "stats" page, i want the table row with their name to highlight in green. I already have their name stored in a cookie. I cant seem to get it working ... here is my code... This gives all of the seperate rows an id ...
  15. Jonnn

    Help with dynamic html (i think it is)

    Does this look correct? function draw_stats(name, games_played, wins, loss, win_streak, win_percentage, idName) { document.write("<tr align='center' id='" + idName + "' onmouseover=\"this.bgColor='#eaffea'\" onmouseout=\"this.bgColor='white'\">"); document.write("<td class='font'>")...
  16. Jonnn

    Way of finding numeric number of array slot?

    say for instance i have an array ... var my_array = new Array() my_array[0] = "apple"; my_array[1] = "banana"; is there a way of finding the array slot number? ive tried ... my_array[0].name without much luck. Any help would be appreciated - Jon JavaScript Beginner at work :)
  17. Jonnn

    Problem with spanned cells

    I have the following code ... <html> <head> <title> Beacon Inn Pool Team </title> <style type="text/css"> .marquee { font-family: verdana; font-size: 12; color: red;} td.font { font-family: verdana; font-size: 10; color: green;} td.image {...
  18. Jonnn

    JavaScript - C++

    I have been learning C++ for a week now, everything im learning seems to be similar to JScript ... but just uses diff key words. To be honest lots of languages seem similar to JScript (coding wise). What do you guys think? - Jon JavaScript Beginner at work :)
  19. Jonnn

    Finding my birthday wasnt meant to be this hard ...

    Ok guys, This script i made is trying to tell me i was born on a different day ... but the code seems perfect ... it works if i was born in nearly any year besides 1987 ??? take a look <html> <head> <title>sample</title> <script language="javascript"> var my_birthday = new Date("August...
  20. Jonnn

    sort() method

    when using the sort method my_array.sort(simple_sort) simple_sort is a function so why do you not put ... my_array.sort(simple_sort()) ??? JavaScript Beginner at work :)

Part and Inventory Search

Back
Top