Start ::
PostNuke 0.7 Support ::
XTE Support ::
Mikes DHTML Scroller
Moderated by: Support Team
-
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 03.03.08
- Posts:
- 6
Hey everyone -
I am attempting to get Mike's DHTML Scroller (Javascript) to work on the new site I am building.
Mike's DHTML scroller can be found here: http://www.dynamicdrive.c...cindex2/mikescroll.htm
What happens when adding it to a block/module, is that it sends me a hacking email and then works in IE but does not work in Firefox.
I am stuck. I added the Javascript info into the theme.php and it stops processing the module with an error.
Eyesa Stuck. Anyone shed any light on it?
Currently looking at http://www.ebbids.com/index.php
edited by: TheAdmiral, Feb 28, 2008 - 08:16 PM -
- rank:
-
pnProfessional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 07.05.08
- Posts:
- 806
not really XTE, but you have in your script line
myScroller1.addItem and the other three lines.
and why theme.php??
You need to edit your home/master.htm, not theme.php
oh and
http://validator.w3.org/c...ebbids.com%2Findex.php
- Igor
-----
Have a nice day
PostNuke.be is currently running
PN 0.8.0.0-RC3 -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
this is what I would do...
in your theme head add the libraries... pointing to JS folder in your theme.
Create a block if you want it in a block... mikes_scroller.htm (whatever.)
create the block... (!--titel--) but instead of the (!--content--) put your script.
configure the block for your theme. like anyother custom block.
Create a block in your Block admin.. text block is fine... bucause it is a dummy... give it a title assign it to mikes_scroller.htm and volia! you have a dummy block that doest 'worry' about HTML rules... therefore making your site safer... as well as keeping the scripting our of the DB...
I know this is a quick guide...but feel free to ask me to expand on parts you do not understand.. if I am too unclear.
HTH
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 03.03.08
- Posts:
- 6
"Create a block if you want it in a block... mikes_scroller.htm (whatever.)
create the block... (!--titel--) but instead of the (!--content--) put your script.
configure the block for your theme. like anyother custom block.
"
I know you were in a hurry - and I am burnt out for 36 hours of working. But can you expand on those three.
Title, I know it's title. -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
Hmmm... are you really using an XTE theme? Seems you are using a modified ExtraLite theme... in this case this method will not work. There is Extralite port xEtralite by Mark West which also uses CSS standards.
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 03.03.08
- Posts:
- 6
AmmoDump,
I switcho-changoed for a theme that is based on XTE. Now, I can get the scroller to work in IE, but not in Firefox.
http://www.ebbids.com/index.php
Anyway, I attempted to do what you were saying in previous posts, but it did not work.
Any ideas?
Start ::
PostNuke 0.7 Support ::
XTE Support ::
Mikes DHTML Scroller
