Author Topic: A question for those who are HTML adepts  (Read 739 times)

Offline balduran

  • Supremacy of the Metal Kingdom
  • Planewalker
  • *****
  • Posts: 271
  • Gender: Male
  • Photo - useless. Inner beauty - questionable.
    • BG2 Improvements Mod by Victor and azure NPC Romance
A question for those who are HTML adepts
« on: October 31, 2005, 12:36:00 PM »
I am making this site about strange facts of life and Iwant to add an option where you can access a list of 5 facts, which are randomly chosen from a list. The visitors are supposed to do it with the push of a button.

The problem is that I don't know how to do it. Can anyone here help me?
Ask not! Dominate!

http://balduran.blackwyrmlair.net

-- BG2 Improvements
-- Azure NPC Romance

"In the end, my girlfirend became my arch-enemy, my arch-enemy became my best friend, and my best friend became my girlfriend. But hey - that's high school!"

Offline CamDawg

  • Infidel
  • Planewalker
  • *****
  • Posts: 832
  • Dreaming of a red Xmas
    • The Gibberlings Three
Re: A question for those who are HTML adepts
« Reply #1 on: October 31, 2005, 12:41:32 PM »
HTML is static so you'll need something that can generate dynamic data, such as PHP. You could try it in Javascript, but since ~10% of web surfers have it disabled it's a suboptimal choice.
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

Offline balduran

  • Supremacy of the Metal Kingdom
  • Planewalker
  • *****
  • Posts: 271
  • Gender: Male
  • Photo - useless. Inner beauty - questionable.
    • BG2 Improvements Mod by Victor and azure NPC Romance
Re: A question for those who are HTML adepts
« Reply #2 on: November 01, 2005, 04:06:04 PM »
Then I'll have to go with PHP. I don't uderstand Java anyway. Do you know how to do it with php? Does it require some sorce of database control?
Ask not! Dominate!

http://balduran.blackwyrmlair.net

-- BG2 Improvements
-- Azure NPC Romance

"In the end, my girlfirend became my arch-enemy, my arch-enemy became my best friend, and my best friend became my girlfriend. But hey - that's high school!"