Although your intent is not entirely clear to me, for example see attachment.
Dne pondělí, 5. srpna 2013 13:42:08 UTC+2 Adnan Siddiqi napsal(a): > > Hi > > I have the following code: > > tinyman = "http://oi40.tinypic.com/vnmoab.jpg"; >> var pageNav = document.getElementById("pageNav"); >> if(pageNav!=null) >> { >> var pageNavHtml = pageNav.innerHTML; >> var liHTML = '<li onclick = "openpop();" id="btnPopUp" class="navItem >> topNavLink middleLink">'; >> liHTML+='<a><img src="'+tinyMan+'" border="0" style="margin-bottom: 4px; >> display: inline-block;">'; >> liHTML+="<a>" >> liHTML+='<div class="menuPulldown" style="display:block;"></div>' >> liHTML+='</a>'; >> liHTML+='</li>'; >> alert(liHTML); >> } > > > Issue is that it is not loading image and giving Reference Error.. Since I > want to convert script to a FireFox extension by using Compiler so I do not > wan to use GM_ functions either. > > Please help! > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/groups/opt_out.
