Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 09-22-2006, 12:08 PM
TheRedRose Offline
forum loafer
 
Join Date: Mar 2006
Location: Germany
Posts: 19
Hmm

Clicking works for me (FF 1.5.0.6 and IE 6.0) but the mouseover thingy is tricky. How do I implement a feature that scrolls while the mouse is over the component (div element) without having to move the mouse? I tried the mousemove event but this is only fired when moving as you have noticed
Reply With Quote
  #12  
Old 09-22-2006, 12:30 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Maybe mouseover JS event:
http://www.quirksmode.org/js/events_compinfo.html#mouse

PS Now clicking works for me.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #13  
Old 10-08-2006, 08:13 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
that is cool!
__________________
i should say more clever stuff
Reply With Quote
  #14  
Old 10-26-2006, 05:57 AM
zac's Avatar
zac Offline
pp veteran
 
Join Date: Jul 2005
Posts: 99
Yea! Cool site too. It is interesting to see the pre-tweaked photos. Great tutorials about the making of certain images. Thanks!

Any idea on when you are going to share that code?
__________________
folkphotography
Reply With Quote
  #15  
Old 12-17-2006, 03:25 PM
TheRedRose Offline
forum loafer
 
Join Date: Mar 2006
Location: Germany
Posts: 19
Glad you like my site and the addon, I'm currently very, very, very (and so on) busy, I'm hoping to release the addon in january...
Sorry for that, but I think quality is more important than speed
Reply With Quote
  #16  
Old 03-31-2007, 07:30 PM
RAitch Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Ontario
Posts: 115
Man am I close... it's working perfectly on my local web server (baring some minor IE vs FF formatting issues) but the one thing I'm trying to figure out is how to load/determine the number of images in the database to use it in my Javascript to create the control.
Otherwise, you can just keep scrolling to the right through space (not showing any images). If I set the number of entries, it'll stop at the last picture.

I have an custom addon that builds the LI code from the tables... and I have the image count in that PHP code... but I can't figure out how I'm going to get that back into my code.

I have some embedded JS code that creates the control but can't use typical addon functionality ($tpl = ereg_replace code) to pass this value into the JS... it doesn't get replaced.

Any ideas? I'm new to the whole PHP JS HTML CSS thing... so I'm probably missing something obvious to try.
__________________
My Gallery
Reply With Quote
  #17  
Old 04-01-2007, 03:54 AM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
There's already a variable in the index.php file that contains the total number of posted images. The variable is $pixelpost_photonumb. You should be able to access this variable from within your addon.
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
  #18  
Old 04-02-2007, 01:32 AM
RAitch Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Ontario
Posts: 115
The problem is that I need this number in my embedded javascript.
Adding those PP constants don't seem to work... either does adding the addon tags.
__________________
My Gallery
Reply With Quote
  #19  
Old 04-02-2007, 01:50 AM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
Why don't you generate the script dynamically within the addon, then insert it into the page using a new tag?
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
  #20  
Old 04-02-2007, 01:59 AM
RAitch Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Ontario
Posts: 115
Dude, never thought of that!!

Or is there a way using AJAX techniques to somehow just call into some PHP to return the results into the JS? I don't know, I'm a web programming dummy
__________________
My Gallery
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 12:20 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs