Can anyone help me in adding preview this theme button in website..
themespalace.com
I want to add this button beneath each theme posting ..
Plz help me i come here because i thing this forum solve my problem.
Waiting of your reply..
:c-blink:
1 reply to this topic
#1
Posted 19 December 2010 - 06:36 AM
|
|
|
#2
Posted 01 March 2011 - 05:49 AM
If you only want the review button like that, the most simple idea is to capture an image (like they do), and open it whenever people click the "Preview button", with a few more css ans script, you can easily do like that.
Example (simplified version):
Make up a div contain review image, make sure that it is invisible and on the highest layer, you will have to set the image position and decoration yourself in order to gain the same result, ok?:
I hope that help, that is only the basic idea, you still have to work on your own!
xx3004,
Example (simplified version):
Make up a div contain review image, make sure that it is invisible and on the highest layer, you will have to set the image position and decoration yourself in order to gain the same result, ok?:
<div id='doPreview' style='z-index: 1000;'><img src=""></div>Next, make a preview button:
<a href="javascript: document.getElementById('doPreview').innerHTML=\"<img src='LINK OF PREVIEW IMAGE'>\"; document.getElementById('doPreview').style.visibility='visible';">PREVIEW</a>
I hope that help, that is only the basic idea, you still have to work on your own!
xx3004,
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









