FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Multiple <a> Tags, Filled With MySQL DB data with PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Multiple <a> Tags, Filled With MySQL DB data with PHP [message #179257 is a reply to message #179249] Wed, 26 September 2012 12:16 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Sep 26, 2:45 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 9/25/2012 8:04 PM, Christoph Becker wrote:
>
>> Jerry Stuckle wrote:
>>> What javascript is being used here?
>
>> Tom wants to present the images with Fancybox <http://fancybox.net/>
>> (see the OP).  Since the generated (X)HTML is /reportedly/ the same as
>> the hand-written one, there /might/ be a problem on the javascript side
>> -- even if that's quite unlikely, if the generated code is /exactly/ the
>> same.
>
> The HTML he's trying to emulate does not use javascript.
>
> And even if it did - it would be the same javascript in both cases, and
> would either work or fail in both cases.

The HTML he is trying to emulate is "input" to the fancybox
javascript. The class and rel attributes are picked up by the fancybox
javascript.

However, as you say, if the HTML code produced by the php was (as the
OP has said) EXACTLY the same as the hand written stuff then, since
the browser knows nothing about anything apart from the HTML, CSS &
Javascript, it would either work in both the "hand crafted" and the
"php generated" cases or it would not work in both.

Since the OP "says" that the HTML source is exactly the same in both
cases, yet it works with the hand crafted one but not in the php
generated one, we have to assume that he is either lying, or he has
not examined the two sets of HTML code accurately.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic Links (MySQL/PHP)
Next Topic: Advice for Literature on PHP-Based Web Development Business Models
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 22:13:32 GMT 2024

Total time taken to generate the page: 0.05598 seconds