On a website I remeber seeing a news feature where the news would be a bar with a title and you clicked it and it would expand showing the message and other information and the code used was javascript:show but I don't understand how it works (as the news was got from a mysql database) how would this be done?
Ries 0 Newbie Poster
Recommended Answers
Jump to PostWhich part of your giant sentence do you need further help on?
Jump to PostYou do just what you said: have server-side code perform a query or stored procedure, render the results in a DIV, and toggle the visibility of that div using JavaScript.
Again, which part do you have a question about?
All 7 Replies
tgreer 189 Made Her Cry Team Colleague
Ries 0 Newbie Poster
tgreer 189 Made Her Cry Team Colleague
Ries 0 Newbie Poster
havilah 0 Newbie Poster
tgreer 189 Made Her Cry Team Colleague
tgreer 189 Made Her Cry Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.