VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

problemi with $jfheight and $jfwidth in JS
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: problemi with $jfheight and $jfwidth in JS

problemi with $jfheight and $jfwidth in JS 11 Nov 2013 12:55 #3349

Hi,

NICE NICE extension I LOVE IT

The JS code
jQuery('#mod_jfslideshow').css({
'height':<?php echo $jfheight;?>,
'width':<?php echo $jfwidth;?>
});


in slideshow.php does not get the values and goes in error.

Any idea why?

Screenshot: gyazo.com/5be5f6f3779277782d18daf9c99c2d0a

Joomla! 2.5.4 Stable Ember
JF Slideshow Version:1.0 Date added: 02/26/2013

PS I was wrong with the previous analysis of the error, so I canceled it. Sorry!
Last Edit: 11 Nov 2013 13:24 by adriespo. Reason: wrong analysis...

  • Posts:1
  • adriespo
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: problemi with $jfheight and $jfwidth in JS 10 Jun 2015 03:13 #6855

Because it doesn't get first image. You should enter background image url is "images/sampledata/slideshow/image-1.jpg"
instead of
"/images/sampledata/slideshow/image-1.jpg"

joomfreak

  • Posts:2144
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.32 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.