1
Freetime
Onmouseover event parameters inside theme
  • 2003/12/10 13:00

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


I'd like to insert a onmouseover efect in theme..

Quote:

Add to favorite


but... there is a trouble... what should be "src" parameter? <{$xoops_imageurl}> dosn't work.... Should I put an adress to image instead of <{$xoops_imageurl}>? "http://mysite/images/file.gif"?

greets

Jacek


2
Mithrandir
Re: Onmouseover event parameters inside theme

afaik $xoops_imageurl is an address to an actual image, so I'd suggest you say $xoops_url."/Path/to/image/image.ext"
instead (can't remember if it is xoops_url, xoopsurl or something else... enable smarty debug and look for it )

3
Freetime
Re: Onmouseover event parameters inside theme
  • 2003/12/10 16:20

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


<{$xoops_url}> - doesn't mix with Java Scirpt "onmouseover" just like other "PHP-based" stuff... :(


but thx.. :)

Jacek

4
CBlue
Re: Onmouseover event parameters inside theme

Put the entire url to the image in your script and it will work. I use javascripts on my site too.

5
CBlue
Re: Onmouseover event parameters inside theme

Example:

Add to favorite

6
Freetime
Re: Onmouseover event parameters inside theme
  • 2003/12/10 16:27

  • Freetime

  • Just popping in

  • Posts: 31

  • Since: 2003/7/30


and that's the only way? is there any way to mix JavaScript and PHP?




nnnnaaaah...

there is another way! include .PHP file with "echo" printing of JavaScript and "inprinting" things like <{$xoops_url}> :)


wow:)

THX 2 ALL

Login

Who's Online

380 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 380


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits