Posted on: 05/24/06 06:30am
By: Anonymous (esedic)
Hi!
I would like to have a DHTML menu within one of the blocks, but I don't know where to put (on FTP server) script (.js) files generated with creation of DHMTL menu.
For example:
on the URL http://www.mypage.com/admin/block.php?mode=edit&bid=27
(it's a edit mode for the block I wish to edit) there is a html code which defines what will be seen in that block. I would like to insert a javascipt into that code, but as I mentioned I don't know where to put the .js files?
Is that possible?
Tnx, ELvis
DHTML menu within block - need help!
Posted on: 05/24/06 08:02pm
By: suprsidr
You can put the html within the block.
But you will need to include the js file in the header of your site.
Place your javascript call somewhere between the head tags in your path_to_geeklog/public_html/layout/your_theme/header.thtml
like this:
<script language="JavaScript" type="text/javascript" src="{site_url}/your_javascript_file_name.js"></script>
and upload your js file to your public_html directory.
Hope this helps
-s
DHTML menu within block - need help!
Posted on: 05/25/06 03:02am
By: Anonymous (El-Vis)
I'll give it a try!