burakb
Forum Replies Created
-
Jacob, thank you for the detailed information. The videos have been a great help for me. I appreciate it. I am now able to insert the slides into my pages and posts.
I’m wondering how to make the plugin work on a custom wordpress home page.
I wrote the codes below to make the plugin work however have been unsuccessful. Any advice from you would be great.
Thank you for your help.
my custom home.php code for wordpress blog.
<?php get_header(); ?> [anything_slides] <?php get_footer(); ?>Hello Jacob, thank you for making such a great plugin but for some reason, I can’t get it work. I’m unsure whether I’m missing some steps.
1- I downloaded the plugin.
2- I activated it
3- I created a few slides on the admin panel.
4- What else do I need to do to get it work?Just found the solution. If anyone else is having trouble with this;
This is the script code that you need to place into your header.php or index.php
<script type="text/JavaScript"> <!-- function show(id) { if (document.getElementById(id).style.display == 'none') { document.getElementById(id).style.display = ''; } } //--> <!-- function hide(id) { document.getElementById(id).style.display = 'none'; } //--> </script>And this is the code that you can place into your post to hide a specific content or show it when clicked on the button:
<table cellspacing="1" cols="3" border="0"> <tbody> <tr valign="top" align="left"> <td width="202"><b>Please, select option</b></td> <td width="481"><a onfocus="hide('tblB');hide('tblC');show('tblA');" href="#">A</a> B <input type="radio" name="Option" onclick="hide('tblA');hide('tblC');show('tblB');return true;"> C <input type="radio" name="Option" onfocus="hide('tblA');hide('tblB');show('tblC');return true;"> </td> </tr> </tbody> </table> <table id="tblA" style="DISPLAY: none" cols="1" cellpadding="2"> <tbody> <tr valign="top" align="left"> <td> You select A, table tblA is shown </td> </tr> </tbody> </table> <table id="tblB" style="DISPLAY: none" cols="1" cellpadding="2"> <tbody> <tr valign="top" align="left"> <td> You select B, table tblB is shown </td> </tr> </tbody> </table> <table id="tblC" style="DISPLAY: none" cols="1" cellpadding="2"> <tbody> <tr valign="top" align="left"> <td> You select C, table tblC is shown </td> </tr> </tbody> </table>