Widget Problem
3 posters
Page 1 of 1
Widget Problem
- Code:
<script type="text/javascript" src="http://widgetserver.com/syndication/subscriber/InsertWidget.js?appId=027f91a1-eb6a-4a12-9142-6e467b6e8982"></script><noscript>Get the <a href="http://www.widgetbox.com/widget/premierleaguefocuspiczocom">Live Football Scores from around the world!</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript>
I have this widget from http://www.widgetbox.com/widget/premierleaguefocuspiczocom
When i add this to a widget, somehow it gets cut due to its size. One way is to increase the widget area to 320 pixel which is the default of the widget size. But then the other widgets on my forum look weird.
Other way what i was trying is to make a new html page, but then will this code work? Or i should do something else as well to add it to a new html page "LiveScores"
Last edited by Sanket on November 18th 2008, 6:14 pm; edited 1 time in total
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Widget Problem
hello there,
im afraid external javascript can not be resize.
but for your problem there i think there is easy solution for it. If you look closely on there is option for resizing widget on that website.
Look to below 'Get widget' field, there is box to resize your widget.
Just resize it to meet portal block size before click on get embed code
im afraid external javascript can not be resize.
but for your problem there i think there is easy solution for it. If you look closely on there is option for resizing widget on that website.
Look to below 'Get widget' field, there is box to resize your widget.
Just resize it to meet portal block size before click on get embed code
Adiex- Active Poster
- Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD
Re: Widget Problem
Adiex i tried that, what happens then is as its shown in the image you posted. The widget is basically cut down, instead of resizing it.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Widget Problem
indeed, sorry for not noticing it before.
in that case i dont think there is easy way to resize this widget. i have look to main Java script & css for this widget but coudnt find any code to resize there.
Hopely someone with better knowledge will comes help here
in that case i dont think there is easy way to resize this widget. i have look to main Java script & css for this widget but coudnt find any code to resize there.
Hopely someone with better knowledge will comes help here
Adiex- Active Poster
- Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD
Re: Widget Problem
Okay guys, i have got two different scripts which i want on a single html page. Side by side to each other. I know how to create the html page, i just need the combined code so that i can have both these things together side by side. Oh yes, "Do you wish to use your forum page header and page footer ?" (Yes)
Can someone please do it?
Can someone please do it?
- Code:
<!-- SOCCERWAY FREE script STARTS -->
<iframe src="http://www.soccerway.com/freeresults.php" width="480" scrolling="auto" frameborder="0" height="1500">[Your user agent does not support frames or is currently configured not to display frames. However, you may visit <A href="http://www.soccerway.com/freeresults.php">this link.</A>]</iframe><!-- SOCCERWAY FREE script ENDS -->
- Code:
<script type="text/javascript" language="Javascript" src="
http://syndication.soccerway.com/
webmaster/widget/widget.php
?select=3&w=100&competition=8
&px=px&font=arial
&fz=11&lrf=2"></script>
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Widget Problem
Hello there,
Its not my intention to bugging here, its just my habit lmoa
Since you did use forum header & footer i recommend you try use code below.
=>Via HTML editing:
=>Via CSS :
Add this code on CSS Stylesheet
Then simply paste this code on your html pages.
Its not my intention to bugging here, its just my habit lmoa
Since you did use forum header & footer i recommend you try use code below.
=>Via HTML editing:
- Spoiler:
- Code:
<body><table width="100%" cellpadding="2" cellspacing="2" border="0" class="forumline" align="center"> <tr><th height="25" class="thHead" nowrap="nowrap">YOUR TITLE</th></tr> <tr><td class="row1">
<br><br>
<table style='width:480px;border:0px;'align="left"><tr><td> // script 1 // </td></tr></table>
<table style='width:500px;border:0px;'align="right"><tr><td> // script 2 // </td></tr></table>
</td> </tr></table></body>
If you not happy with table alignment try adjusting size for your script 2 since the other one got CSS linked on it. so technically it cant be re sized- Code:
<table style='width:500px;border:0px;'align="right">
If you don't like the forum bar, you can removed it by replacing :- Code:
class="forumline"
with this one- Code:
class="module"
=>Via CSS :
Add this code on CSS Stylesheet
- Spoiler:
- Code:
#body1 {
color: #536482;
background-color: #e1ebf2;
background-image: url('http://2img.net/i/fa/empty.gif');
text-align: center;
font: 11px verdana, sans-serif;
margin: 0px;
padding: 20px 0px 20px 0px;
}
#script1 {
float: left;
width: 480px;
}
#script2 {
float: right;
width: 500px;
}
Then simply paste this code on your html pages.
- Spoiler:
- Code:
<html>
<body>
<div id="body1">
<div id="script1">
<div id="main">
<div id="center">
<h2><b>script1</b></h2>
<p><!-- SOCCERWAY FREE script STARTS -->
<iframe src="http://www.soccerway.com/freeresults.php" width="480" scrolling="auto" frameborder="0" height="1500">[Your user agent does not support frames or is currently configured not to display frames. However, you may visit <A href="http://www.soccerway.com/freeresults.php">this link.</A>]</iframe><!-- SOCCERWAY FREE script ENDS -->
</p>
<div class="clear"></div>
</div></div></div>
<div id="script2">
<h2><b>script 2</b></h2>
<p><!-- SOCCERWAY FREE script STARTS -->
<script type="text/javascript" language="Javascript" src="
http://syndication.soccerway.com/
webmaster/widget/widget.php
?select=3&w=100&competition=8
&px=px&font=arial
&fz=11&lrf=2"></script>
</p>
</div>
<div class="clear"></div>
</body>
</html>
Last edited by Adiex on November 18th 2008, 4:53 pm; edited 4 times in total (Reason for editing : added spoiler because its too long)
Adiex- Active Poster
- Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD
Re: Widget Problem
Oh, thank you so much for this
Works awesome.
Topic Solved.
Works awesome.
Topic Solved.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Widget Problem
Since this problem appears to have been resolved, I will lock this topic now.
=> Locked
=> Locked
Nessa- Energetic
- Posts : 6203
Reputation : 128
Language : English
Similar topics
» Portal Widget Problem - column 3 widget appearing at footer
» Widget problem
» Widget Problem
» Widget problem
» Problem with Widget
» Widget problem
» Widget Problem
» Widget problem
» Problem with Widget
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum