SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I DID IT! WOOOOOHOOOOO! I JUST FINISHED MY FIRST REAL SCRIPT! I have worked all week on this little script, I have had buckets of coffee, gallons of coke, and lost lots of sleep, but finally, the struggle has ended. It works. It really works. GAWD DAMM - the satisfaction! This is almost better than sex! The script is probably crude and badly optimized in your eyes, but it does the job nicely and I'm proud. It's 02:24 in the morning here in Sweden, the land of vikings - and I'm so high on PHP!

    Freddy the cat, Freaky Sid, TWT, Pete and all the other great guys who have helped me out deserve a thousand thanks! I never would have been able to do it without them.

    You can have a look at the result on http://www.smartsmartsmart.com
    Is a script that pulls entries from a database, does some little cross referencing between tables, and inserts it into the DHTML menu at the top. The script is in fact quite simple in design, but it was a walk though the 4 hells and one lake full of urine figuring out a creative way to do it! WOOHOO - thanks everyone!

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Looks good, truelight! Congratulations, and welcome to our world!
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  3. #3
    SitePoint Addict Drinky's Avatar
    Join Date
    Jan 2001
    Location
    England
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Err what DHTML menu? (IE 5.5, win98)
    Drinky

  4. #4
    SitePoint Addict Drinky's Avatar
    Join Date
    Jan 2001
    Location
    England
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh that one

    it's not very obvious that you have to hover over the word articles at the top.
    Drinky

  5. #5
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yeah I know - It's very invisible. I'll have to make it more obvious somehow Thay's a small promlem, though.

  6. #6
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got an error on the page.

    Great job overall - sweet little news system - did you write that, or am I misunderstanding you? And yeah, I know what you mean about satisfaction.

  7. #7
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Naw, the news system is not mine. It's a heavily modified (by me) version of PHP-nuke. Very nifty little thing - I recommend it. (http://www.phpnuke.org)

    It's the PHP part of the menu system I wrote. What kind of error did you get?

  8. #8
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Error gone now - my mistake - this computer sucks.

  9. #9
    SitePoint Addict Drinky's Avatar
    Join Date
    Jan 2001
    Location
    England
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by TWTCommish
    I got an error on the page.
    Originally posted by TWTCommish
    Error gone now - my mistake - this computer sucks.
    Aha the mysterious dissapearing javascript error...

    This phenomenon is caused usually by a user using some of the js functionality in a page before it has finished loading... The error dissapears next time you got to the page because you have a cached version of it.

    The way to stop this is to have body onload set a flag and the javascript functions all to void if the flag is not true.

    You tend to find this error a lot in dhtml menus, and scripts with large image preload requirements.
    Drinky


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •