0
Welcome Guest! Login
0 items Join Now

RokBox option qustion

    • Allan Chr's Avatar
    • Allan Chr
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    RokBox option qustion

    Posted 14 years 1 month ago
    • I'm using Rokbox and it works great. I was wondering now since it supports so many things pdf, mp3, youtube and viewing remote sites. If theres any way to get RokBox to display plain Text or even better parse Html to RokBox.

      Then you could use RokBox as f.eks. Tooltips, or use it to display spoilers the options are unlimited.

      So is this possible with the current RokBox plugin for Wordpress.

      Thnx all

      All the best

      /Allan
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 1 month ago
    • I remember doing this - you create a .txt or .html file, put it on your server, and then point the rokbox to that like you would any other file.....you need to have embedded .css from memory to style the popup tho.

      go here, and click on "free evliery worldwide" at the top of the page to see it in action...that's just a basic .html file.

      www.vitaloximeters.co.uk/

      I can get you the exact line of code i've used if your struggling to get it going, just holla :)
    • www.cityinsurance.co.uk
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 1 month ago
    • I remember doing this - you create a .txt or .html file, put it on your server, and then point the rokbox to that like you would any other file.....you need to have embedded .css from memory to style the popup tho.

      go here, and click on "free evliery worldwide" at the top of the page to see it in action...that's just a basic .html file.

      www.vitaloximeters.co.uk/

      I can get you the exact line of code i've used if your struggling to get it going, just holla :)
    • www.cityinsurance.co.uk
    • Allan Chr's Avatar
    • Allan Chr
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 1 month ago
    • fewleh wrote:
      I remember doing this - you create a .txt or .html file, put it on your server, and then point the rokbox to that like you would any other file.....you need to have embedded .css from memory to style the popup tho.

      go here, and click on "free evliery worldwide" at the top of the page to see it in action...that's just a basic .html file.

      www.vitaloximeters.co.uk/

      I can get you the exact line of code i've used if your struggling to get it going, just holla :)

      Excellent aproach :-) banging myself on the head for not thinking about that work around.
      I would really appriciate to see the line of code you used so I can work it out from there.

      Thank you very much :-)

      /Allan
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 4 weeks ago
    • hmm, this doesn't seem to be the right example, I'm sure I did one that loaded form a text file - his one is all just embedded in the code as it ewas quite short...anyway, it may help-

      {rokbox size=|400 50| title=|Free Shipping / Delivery Available Worldwide :: The demand for our state of the art pulse oximeters is increasing globally. We offer all the items in our range with free worldwide delivery, and our unbeatable 2 year warranty.| text=|Free Delivery World Wide|}/templates/gk_corporate2/images/logo-wide.png{/rokbox}

      If I can find the example where I loaded a text file......ill post it here, good luck
    • www.cityinsurance.co.uk
    • fewleh's Avatar
    • fewleh
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 4 weeks ago
    • Allan Chr's Avatar
    • Allan Chr
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Re: RokBox option qustion

    Posted 14 years 4 weeks ago
    • Thnx got this working fine, but having trouble getting the CSS to load have you done anything special to get this to load ?

      Thnx for your help very much apriciated ;-)

      /Allan
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: RokBox option qustion

    Posted 14 years 4 weeks ago
    • Here was my approach to something similar and I'm including a sample zip pack to get things started. Haven't checked this over too much, but it's a start to get you going.

      I put all my extra pages in an "extras" directory and then I can use a centralized css directory and also a centralized images directory just for this stuff.

      I'm using "php" pages verses "html" but have blank index.html pages in each directory to avoid people being able to see the files or directory structure. This is what Joomla does for it's images and other directories too.

      My sample page to call in rokbox is the "index.php" page, note the ".php". This includes a background image and some padding for an inner box and some basic text styling to get things going.

      To call it in rokbox, I use this line:
      <a rel="rokbox[600 400]" href="extras/index.php"><img src="images/stories/THUMBNAIL.jpg" alt="RokBox Page" width="" height="" class="album" /></a>

      I set the width and height of my thumbnail and the rokbox dimensions fit the box dimensions in my style.css file, so if you want to change those, you'll want to also change the container dimensions or not use them. You can also put in whatever THUMBNAIL image you want or just make it a text link.

      Download the zip and put it in your main Joomla directory and it will work from there.

      You can add as many ".php" files as you need calling them whatever you need and call them all the same way with standard RokBox context for linking to a webpage.

Time to create page: 0.063 seconds