Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mrmac

    (@mrmac)

    Kudos to you, Kafkaesqui, for having found a perfect solution for what I needed to do. Now the page works exactly as I wanted… Moreover I learnt different useful things along the way… hope I will be able to support others in the future!

    http://lxp.it/index.php/my-bookmarks/

    Thread Starter mrmac

    (@mrmac)

    The procedure I followed is the one described by the author of the plugin: I inserted the following snippet of code

    <?php xbel(); ?>

    in the editor window of Write/Manage. In order to process it I installed EZstatic plugin, but I also tried (and got the same problems) with “the execution of all things” and some other plugin who is supposed to execute pieces of code…

    Does this help to help? 🙂

    Thread Starter mrmac

    (@mrmac)

    Hi Kafkaesqui and thank you for the support.

    Thanks to your suggestions I began to better understand what’s up with the script and – above all – I understood how to make a deeper diagnosys in the future on similar problems.

    Yet, my programming skills are a bit rusty (does it says anything “turbopascal v.3.0”?) 😉

    I managed to locate the text of the script (here below) but I have no clue on how to fix the problem. I’m even unaware if having the text of the scripts itself can allow you (or anybody else) to support me (however I try!).

    Concerning your question, for the little knowledge I developed of WP in these past two weeks, I believe that it’s impossible to move the JS to the head part of the page: the script is inserted via a php call in the actual text of the post/page (XBEL plugin)… if you have suggestions – however – I will be glad to try them out.

    <script language=”JavaScript”>
    function toggleFolderView(szDivID)
    { var obj = document.layers ? document.layers[szDivID] : document.getElementById ? document.getElementById(szDivID).style : document.all[szDivID].style; obj.display = (obj.display == ‘none’ ? ‘block’ : ‘none’); var obj_title = document.layers ? document.layers[szDivID+’_title’] : document.getElementById ? document.getElementById(szDivID+’_title’).style : document.all[szDivID+’_title’].style; obj_title.backgroundImage = (obj_title.backgroundImage == ‘url(<?=$folder_open?>)’ ? ‘url(<?=$folder_closed?>)’ : ‘url(<?=$folder_open?>)’); }</script>

    Many thanks!
    Mac.

    Thread Starter mrmac

    (@mrmac)

    Excellent!! The perfect answer in real time!! :))
    Thank you very much!

    (and compliments for your blog, very nice!) :-0

Viewing 4 replies - 1 through 4 (of 4 total)