I'm trying to use a junkie script called 'fensebox'
I need it , So the title should have a link on the selected page, the link must include the user and image name. I am using this PHP $ _GET & amp; A javascript function.
The problem is that both of them are included in the form of a string if you want to revert the image name instead of performing the javascript, it only displays the code.
My question is how do I execute JavaScript to include in the link while still using PHP? (Before I included the PHP part)
It is what I have done so far:
jquery (document) .ready (function () {var Imagename = function (item) {return item.href.replace ('/ images / & lt ;? php echo $ _GET [' user '] ;? gta; /', '');} $ (".fancybox" ) .attr ('' none ', next effect:' none ', prevailing:' none ', margin: [20, 60, 20, 60], // increase the left / right Harrzin Show Show button: True , Show Nower: Correct, Title: '& lt; a href = "delete.php? Name = & lt ;? php echo $ _GET [' user '].' & Quot;; Image = ';; & gt; + Imagination + '""> delete this image It is a link that creates it: http: / /> /xxx.xxx.xxx.xxx/delete.php?boat=BoatCV20&image=function%20 (% 20item% 20)% 20 {% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20return% 20item.href.replace ('/ images / USERNAME1 /',% 20 '');% 20% 20% 20% 20 Thanks% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20% 20} Thank you.
imagename this is a function, so you should call it Imagename ()
No comments:
Post a Comment