Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 01-15-2011, 11:28 AM
Amlung Amlung is offline
Junior Member
 
Join Date: 01-15-11
Posts: 2
iTrader: 0 / 0%
Question Images preview when hovering over page numbers (Tumblr)

Hi,

(Might fit better in the Coding forum...)
I googled for it but didn't find much =/ I basically want the images (not all obviously) of said page to be previewed when hovering over the page numbers.
This is for Tumblr if you missed it in the title.

As far as I could make out, the following code is responsible for the page numbers and "previous/next page":

Code:
{block:Pagination} <div id="navigation" {block:IfEnableJumpPagination}class="jump_pagination"{/block:IfEnableJumpPagination}> {block:PreviousPage}<a href="{PreviousPage}">&larr; {lang:Previous}</a>{/block:PreviousPage} {block:IfEnableJumpPagination} {block:JumpPagination length="5"} {block:CurrentPage} <span class="current_page">{PageNumber}</span> {/block:CurrentPage} {block:JumpPage} <a class="jump_page" href="{URL}">{PageNumber}</a> {/block:JumpPage} {/block:JumpPagination} {/block:IfEnableJumpPagination} {block:NextPage}<a href="{NextPage}">{lang:Next page} &rarr;</a>{/block:NextPage} </div> {/block:Pagination}
Thanks for any help.
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 01-16-2011, 12:22 PM
kos's Avatar
kos kos is offline
Coding Tiger
 
Join Date: 04-13-07
Location: .ro
Posts: 4,029
iTrader: 3 / 100%
wow, smarty....

I honestly have no idea how you could do this, I haven't been using smarty for quite a long time, but all I can say is that you already know/have the previous, current and the next page names/indexes so all you need to do is create the screenshots for that pages and use css/javascript to find them in the images directory and then create the preview...(would that work?)


 
Reply With Quote
  #3  
Old 01-16-2011, 02:46 PM
Amlung Amlung is offline
Junior Member
 
Join Date: 01-15-11
Posts: 2
iTrader: 0 / 0%
Well my coding abilities are quite limited, so the only thing I can do is find similar coding on a website and try to implement it.
I noticed that Google is using a new (well I only noticed it a few weeks ago) preview feature where they preview the whole website. I could have a look at their code and see how far I can get...

Ehm what's "smarty", Tumblr?
 
Reply With Quote
  #4  
Old 01-18-2011, 02:26 AM
kos's Avatar
kos kos is offline
Coding Tiger
 
Join Date: 04-13-07
Location: .ro
Posts: 4,029
iTrader: 3 / 100%
...the syntax of your code looks very closed to smarty (if I remember correctly)...so I thought that's smarty(my bad)
 
Reply With Quote
  #5  
Old 01-18-2011, 06:11 AM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
Try this Google search: http://www.google.com/search?q=php+%...ient=firefox-a

The search string, just in case the link does not work for you: php +pagination +image +preview

That is a fairly ambitious project but if you do it in php some of us may be able to help.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply logos/images to products for visitors to preview? tfhenry Coding Forum 1 05-20-2010 06:02 PM
hovering mouse over only working in IE... PLZ HELP CircleOfLinks Web Design Lobby 1 02-14-2010 09:28 PM
Google ads "page preview" option .. stephen186 Google Forum 8 11-15-2009 10:35 PM
preview post - main page ianternet Blogging Forum 6 08-30-2007 07:02 AM
Preview Images mohammed Coding Forum 4 04-30-2007 04:43 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:41 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC