Page 1 of 1

Embed countdown script in mobile startpage header

Posted: 22 Feb 2013, 08:20
by tschortsch
Hey!

I purchased a Java countdown for special events on my website and would like to show it in the mobile gallery as well. The startpage header area would be perfect for that purpose so I tried following:

The countdown basically consists of one index.php file, one css, two js files and some graphics. I added the script tags of index.php to iv-includes/templates/mobile/layout.phtml and customized the paths to the css and js files. Then I copied the countdown div container itself in the mobile header field in settings/mobile/startpage header. Well, the countdown shows up in the mobile gallery, that's great, but the size is a problem. If displaying the script standalone on my iPhone it resizes automatically in portrait and landscape mode but not when embedded in mobile gallery, it's to big and does not fit the gallery design..

Could you please tell me what I'm doing wrong?!

Re: Embed countdown script in mobile startpage header

Posted: 24 Feb 2013, 20:52
by Nick
I believe you would have to edit css for the countdown to make it smaller.

Embed countdown script in mobile startpage header

Posted: 25 Feb 2013, 05:59
by tschortsch
Ok, so basically I'm on the right way! I will play around with CSS settings..

Nick, thanks for your answer!