What is the ADD me to your forum code for a widget?
3 posters
Page 1 of 1
What is the ADD me to your forum code for a widget?
Is there a code for phpbb3 that will allow you to make a widget for people to add it to their favorites?
Bear queen- Forumember
- Posts : 191
Reputation : 0
Language : English
Location : Earth!!
Re: What is the ADD me to your forum code for a widget?
...make script not widget!
widgets are based on flash....
script (java script) is text based code...
i don't no how its done coz its about action=....bla bla!!
you can google it!!!
maybe
herf="yoursitename.com/portal.htm&action="add to favorites"
or something like that!!!
widgets are based on flash....
script (java script) is text based code...
i don't no how its done coz its about action=....bla bla!!
you can google it!!!
maybe
herf="yoursitename.com/portal.htm&action="add to favorites"
or something like that!!!
Guest- Guest
Re: What is the ADD me to your forum code for a widget?
I'm not sure if this will work with your forum but here are the codes I used.
The first one is just the picture and the last one is the code. The first one is the only one that worked in my widget.
Good luck.
- Code:
<a href="YOUR FORUM ADDRESS"><img src="URL of image"></a>
- Code:
<textarea onClick = select()><a href="YOUR WEBSITE URL"><img src="YOUR IMAGE URL"></a>
The first one is just the picture and the last one is the code. The first one is the only one that worked in my widget.
Good luck.
briella- Forumember
- Posts : 58
Reputation : 0
Language : english
Location : In between Dreaming and Awake
Re: What is the ADD me to your forum code for a widget?
both are img codes,but second changes on click!
i found this:
1
thats it... ...it must work ....num 3 is button type ...for portal or what ever ...
contact me with MSN so i can diliver scripts to you!:
mixa205@gmail.com
i found this:
1
- Code:
<a href="javascript:window.external.AddFavorite('http://www.java-scripts.net', 'Java-scripts.net')">Click here to add Java-scripts.net to your favorites</a>
- Code:
<a href="javascript:window.external.addFavorite('http://www.website.com','Website Title');">
Click here to add the homepage to your favorites!</a>
- Code:
<FORM>
<INPUT TYPE="button" VALUE="Add to Favorites" onClick='window.external.AddFavorite(location.href, document.title);'>
</FORM>
- Code:
<span style="cursor: hand; text-decoration: underline;" onclick="window.external.AddFavorite(location.href, document.title);">
Click here to add this page to your favorites</span>
thats it... ...it must work ....num 3 is button type ...for portal or what ever ...
contact me with MSN so i can diliver scripts to you!:
mixa205@gmail.com
Guest- Guest
Re: What is the ADD me to your forum code for a widget?
the best one until now
no need to modify something else
tested on firefox 3 and IE 6 with last updates
no need to modify something else
tested on firefox 3 and IE 6 with last updates
- Code:
<script type="text/javascript">var pageurl=location.href;var pagetitle=document.title;function bookmarksite(title,url){if (window.sidebar) window.sidebar.addPanel(title, url, "");else if(window.opera && window.print){ var elem = document.createElement('a'); elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click();} else if(document.all) window.external.AddFavorite(url, title);}</script><p class="newstext"><a class="bookmark" href="javascript:bookmarksite(pagetitle, pageurl)">Bookmark this page</a></p>
Similar topics
» Created a widget but when I paste the code to embed it and add to our forum it just shows the code in the widget box.
» I add a new Forum widget for my Affiliates code but I want to remove the code that shows there!
» Forum Widget Code Help
» How to code this... A Forum widget below my forum content?
» HTML remains a code on Portal/Forum widget/Homepage message.
» I add a new Forum widget for my Affiliates code but I want to remove the code that shows there!
» Forum Widget Code Help
» How to code this... A Forum widget below my forum content?
» HTML remains a code on Portal/Forum widget/Homepage message.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum