This is a discussion on javascript scroller on mainpage.php (Define mainpage) within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; On the mainpage.php for Define mainpage I am trying to get a scroller to work but can not get the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| On the mainpage.php for Define mainpage I am trying to get a scroller to work but can not get the images to appear in it. I have tried to place the five .gif images for the scroller in catalog/includes/languages/english/images folder but that does not work. Another javascript on the same page, that displays the local international time works just fine but the scroller does'nt. Can some one please help. Thanks |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Try the images in catalog/images Reference images as image.gif NOT ../images/image.gif |
|
#3
| |||
| |||
| Thanks for the reply. I have tried catalog/images before also and this time using the reference you have suggested but the problem is that i can not even get any single static images to be displayed on the main page unless i upload them using the insert/image feature of the FCK editor in admin/Define Mainpage. The editor then puts the images in a different folder 'UserFiles/Image'. Now the scroller does'nt work even when i put its .gif images in UserFiles/Image folder possibly because i am not uploading the images?. Any other suggestions would be most welcome and after reading through all this, if you think i am stupid, let me tell you that brains is somthing i have so much of that some times i don't know what to do with it. |
|
#4
| ||||
| ||||
| Post the code here: use the Code: code in here |
|
#5
| |||
| |||
| Well it looks like there is no need to post the code now since i finally figured out the problem which was placing the <body onload= "start()"> in line 69 of main_page.tpl.php instead of leaving it on mainpage.php with the rest of the script. Now the scroller works nicely with reference ' images/photo.gif ' and using the catalog/images folder for it's images. BTW i found your other post about putting the images and links in infobox very useful too and really appreciate your help on this one as well. Thanks and best regards |
|
#6
| |||
| |||
| can you provide me a link of your website. i want to see what it looks like, and also the code to make it work. Thanks in advance! |
|
#7
| ||||
| ||||
| Makes sense as main_page.tpl.php is where the head & body tags are. I have removed "onload="selectRowEffect(this, 0)" from the body tag in main_page.tpl.php as this was causing an "Error on page" message in the task bar of IE. Thanks to zuqaili for posting the solution.
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#8
| |||
| |||
| Neil I had also removed the 'onload...' part from the body call in main_page.tpl as per Michael's post regarding the error in IE. However, i am glad now after adding this new 'onload...' statement again i don't get the previous 'done with errors' in IE taskbar. Intensea, so far i have tested the scroller only on my localhost but you can get the free code for it from Vertical Scroller Javascript Scrolling Script,Dhtml Vertical Text Scroller . |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WYSIWYG DEFINE MAINPAGE | jkempton | osCMax v1.7 Installation | 2 | 06-16-2005 02:42 PM |
| Define Mainpage | Chippy | osCMax v1.7 Discussion | 4 | 03-15-2005 10:56 AM |
| How to use define mainpage? lost and need help | Anonymous | osCMax v1.7 Discussion | 1 | 07-02-2004 12:45 AM |
| Inserting a javascript in mainpage.php | aalex | osCMax v1.7 Discussion | 0 | 02-05-2004 06:38 PM |
| define mainpage | jloyzaga | osCommerce 2.2 Modification Help | 1 | 01-19-2004 11:44 AM |