It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Javascript, CSS and Blogger

Javascript, CSS and Blogger

Postby jozefk on Sun Apr 12, 2009 11:46 am

Hi to everybody.
Hope this is the right place for me to ask for help regarding my problem :)

I tried to search everywhere on the internet and this group as well
but didn't find out the solution for my problem. And still I guess it
should be something very simple.
Hope some of you here can help me with some instructions or
suggestions. Thanks in advance.

What I'm doing is a custom template which isn't a brand new one but
only modified Minimal template which is already available on Blogger.
Here is the link: http://jozsefk9.blogspot.com/

For now I don't have any other problem then to enable some piece of
Javascript code and that is for rollover and drop down effects in the
menu.
Here is the same menu [made by myself] and it works perfectly:
http://www.suncityae.com/martin-blogger ... menu3p.htm

I think, actually I'm almost 100% sure the problem is with the way
Blogger is rendering the page or the source xml template file. If you
take a look at the source code in the blogspot you will notice a
difference in this part of the code:

Code: Select all
<td><a href='portfolios.html' onmouseout='MM_swapImgRestore
();MM_menuStartTimeout(1000);' onmouseover='MM_menuShowMenu
(\'MMMenuContainer0412015945_0\', \'MMMenu0412015945_0\',0,30,\'http://
www.suncityae.com/martin-blogger/martinmenu3p_r2_c3\');MM_swapImage(\'http://www.suncityae.com/martin-blogger/martinmenu3p_r2_c3\',\'\',\'http://www.suncityae.com/martin-blogger/images/martin-menu3p_r2_c3_f2...',1);'><img
alt='portfolios' border='0' height='19' id='martinmenu3p_r2_c3'
name='martinmenu3p_r2_c3' src='http://www.suncityae.com/martin-blogger/
images/martin-menu3p_r2_c3.gif' width='67'/>


This is the same part from the working example of the menu:

Code: Select all
   <td><a href="portfolios.html" onmouseout="MM_swapImgRestore
();MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu
('MMMenuContainer0412015945_0', 'MMMenu0412015945_0',
0,30,'martinmenu3p_r2_c3');MM_swapImage
('martinmenu3p_r2_c3','','images/martin-menu3p_r2_c3_f2.gif',1);"><img
name="martinmenu3p_r2_c3" src="images/martin-menu3p_r2_c3.gif"
width="67" height="19" border="0" id="martinmenu3p_r2_c3"
alt="portfolios" /></a></td>....


Blogger is inserting some additional signs in the Javascript code! And
I don't know and don't understand how to avoid this. I'm not that good
with Javascript.

Any suggestion please?
Thanks a lot.

Jozsef
jozefk
 
Posts: 2
Joined: Sun Apr 12, 2009 11:38 am

Re: Javascript, CSS and Blogger

Postby Suffer on Wed Apr 15, 2009 8:01 am

i dont hae any idea.
Suffer
100+ Club
 
Posts: 236
Joined: Tue Jan 20, 2009 6:34 am

Re: Javascript, CSS and Blogger

Postby jozefk on Wed Apr 15, 2009 10:17 am

it's OK I find out some solution. it's not that perfect yet but at least the drop down menu is working. only the images are not swapping. don't know why. anyway I think I'll just keep it as it is or maybe I will try to make it in flash and add the swf file to the blogger if it is possible at all :)

thanks!
jozefk
 
Posts: 2
Joined: Sun Apr 12, 2009 11:38 am


Who is online

Users browsing this forum: No registered users and 10 guests