Got any Code Requests? Ask us here!

  • 1
  • Praise
  • Updated 7 years ago
Every once in a while, me and other people from my team will be helping anyone that needs a custom code on this post. Usually it will be two of us. This time, me and Nathan will be helping. We can do anything from HTML to server-side PHP.

PHP Requests

Due to Yola not supporting PHP, we will need to give you an iframe for anything written in PHP.

JavaScript Requests

We have a strong knowledge of JavaScript, so please do not hesitate to ask for a JavaScript code from us. JavaScripts can be directly in your site. (no iframes)

Note: We do not guarantee that we will be able to write the code that you want. But, still ask us even if you think we wont be able to write it for you!
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
  • excited to create, some, code!

Posted 7 years ago

  • 1
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes


Okay so what am I doing wrong lol... I am on 'try164'... Im sure im doing something wrong because the box doesnt come up... I dindt change any of the fields yet because I actually want to see it for real before I play around but I cant get it to work...

Please help a brother out here... :P
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
I also tried it on my website, nothing works for me too.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
This might be a problem with V. 1.1

Ill try and see what the problem is.

Sajid-M,

Would it be OK if I fix this first before I work on your request.

Maybe I'll get someone else to help.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Try this:

1. Turn Cookies Off.
2. Add
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>

Into the Site Tracking Code instead.

I tried the code and it seems to work fine. Your code looks correct thought.

But just to try do this:

Make sure the code above is in the Site Tracking Code.



<script type="text/javascript" src="http://weebuild.biz/resources/box.js"></script>

<script type="text/javascript">
Cookies = 'Off';
Cookie_Name = 'try150';
Box_Width = '470';
Box_Height = '290';
Padding = '10';
Shadow_Color = '#0566B5';
Shadow_Blur = '10';
Border_Radius = '4';
Border_Color = '#0766B4';
Border_Width = '1';
Border_Type = 'solid';
Text_Color = '#000000';
Background_Color = '#ffffff';
Overlay_Color = '#015A7D';
Overlay_Opacity = '60';
Box_Opacity = '99';
Close_Button = 'http://www.mattcmiller.net/css/images/close_button.png';
</script>

<div id="whats_new" style="display:none;">
<h2 id="top">Special Offers</h2>
<span style="font-size:25px;">Offer 1</span><br>
<span style="font-size:19px;color:grey;">Offer 1 Description</span><br><br>
<span style="font-size:25px;">Offer 2</span><br>
<span style="font-size:19px;color:grey;">Offer 2 Description</span><br><br>
<span style="font-size:25px;">Offer 3</span><br>
<span style="font-size:19px;color:grey;">Offer 3 Description</span><br><br>
<center id="copy">Copyright © {YEAR} {COMPANY}. All Rights Reserved</center>
</div>



Example:

http://jsfiddle.net/jbB8Z/2/embedded/... (It will look better on your site.)

Code Tested on:

Internet Explorer, Google Chrome.
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
That's okay, finish this problem first.
Also, I might just not do this code anymore, it seems too... scary and big.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Sajid-M,

It really isn't bad. Its just replacing the words you wanna put.
If you need more help please tell me.

Best Regards,
Shawn
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
Ok, could you like give me clear step by step instructions chronologically, because my mind is confused.

What do I do first?
I open a HTML widget, what code do I put inside, explain like that please.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
You need Yola Silver to use the tracking code... :(
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
1. Drag HTML Widget onto page.
2. Add the Files:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="http://weebuild.biz/resources/box.js"></script>


3. Add the Options:

<script type="text/javascript">
Cookies = 'Off';
Cookie_Name = 'try150';
Box_Width = '470';
Box_Height = '290';
Padding = '10';
Shadow_Color = '#0566B5';
Shadow_Blur = '10';
Border_Radius = '4';
Border_Color = '#0766B4';
Border_Width = '1';
Border_Type = 'solid';
Text_Color = '#000000';
Background_Color = '#ffffff';
Overlay_Color = '#015A7D';
Overlay_Opacity = '60';
Box_Opacity = '99';
Close_Button = 'http://www.mattcmiller.net/css/images/close_button.png';
</script>


3. You will need to add the HTML (Fully Editable):

<div id="whats_new" style="display:none;">
<h2 id="top">Special Offers</h2>
<span style="font-size:25px;">Offer 1</span><br>
<span style="font-size:19px;color:grey;">Offer 1 Description</span><br><br>
<span style="font-size:25px;">Offer 2</span><br>
<span style="font-size:19px;color:grey;">Offer 2 Description</span><br><br>
<span style="font-size:25px;">Offer 3</span><br>
<span style="font-size:19px;color:grey;">Offer 3 Description</span><br><br>
<center id="copy">Copyright © {YEAR} {COMPANY}. All Rights Reserved</center>
</div>


4. Click Save.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Nope I have done it all over again and still got nothing... I wonder what it can be... That box looks so darn nice and now I cant get it to work... :(

Could it be something with my browser settings? Got Internet Explorer 8. I am going to leave that code in my editor and then one of you can go on my site and see if it pops up... then I assume that it will mean that something is up with my browser, if it pops up on your side that is...?

www.helderbergads.com
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
Wow I've tried it :o
It worked perfectly (just the default code you gave, not edited to my own yet) !
Thanks so much.

Also Bernhardt, basically put all of the code in one HTML widget then save.
Then it'll work, so then you can edit the details.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
I did just that my friend.. check the image I uploaded earlier.. I copied all the code into an html widget and still nothing. Thats why I am thinking that my browser is at fault here...

But thanks for the help Sajid-M :)
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
No problem,
I don't really know what's wrong, but I hope it all works out.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
I don't think its the Browser Bernhardt.

I tested it on Internet Explorer.

You can come chat with me here for more help. I really recommend you chatting with me as that will make this go faster.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
okay so I left an offline msg with my email... maybe get back to me on there then we can setup a session... really want this box to work... :)

Thanks for all the help!
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
So I downloaded IE9 and the box works Perfectly :D !! I am going to start playing around with it now... this is fantastic... first impression is awesome... I will let you know if I struggle with something...

Thanks a lot for my cool box!! :)
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
I am very happy with this box.... Very! I have now incountered some problems. I cant change the fields such as the 'special offers' the copy rights spaces or anything... I type in my own text but when I publish the site again the nothing happens... The box shows up as you made it...?
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Could I see the HTML and see what you got?

Best Regards,
Shawn
Photo of Gerry Laplante

Gerry Laplante

  • 1 Post
  • 0 Reply Likes
Hi, I hope you can help me. I have a simple website that sells jewelry and I want to add a 'referral code capture' to it. For example, when a viewer hits my 'add to cart' button, before they website takes them to their shopping cart, I want a pop up window asking them who referred them to the site. I want the information sent to an email address. Then they continue to the shopping cart.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
I dont know how to put a image in a comment box so sorry for this...

This is my code before I publish:



This is the result... ( I have tried to publish it several time changing the cookie_name but nothing happens )



Let me know if Im doing wrong here please? :)
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Still no reply?
Photo of Brianna

Brianna

  • 2045 Posts
  • 92 Reply Likes
Hi Bernhardt,

Sorry to see this hasn't been addressed. This thread has been created by a few members of our community and we have left it in their hands to reply to their customers.

I will be referring your request to our HTML team who will review this and get back to you within 48 hours. Thanks!
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Bernhardt,

Sorry, I wasn't paying attentions to my emails.

I'm very sorry that my code is causing you problems.

Could you explain exactly what your doing. Are you publishing?
Photo of Sajid-M

Sajid-M

  • 119 Posts
  • 2 Reply Likes
I haven't been able to log in recently, now I can. (To the forum)
It seemed like the topic was pretty deserted.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hello Bernhardt,

I think it may be a problem with cache because once you save the HTML widget and publish it should update. I don't think it has anything to do with the code.

Are you sure you clicked the "Save" button on the HTML widget and then the green "Publish" button?

You could just click the "Preview" button, if you haven't already, and then see if it works like that.

Also, you don't need those brackets if you don't want them. So it can just be like this:


Copyright © 2011 HelderbergAds.com. All Rights Reserved.



Shawn just put those there to show you that you need to replace that with the actual information.

Nathan
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Shawn I am trying to change/edit the fields such as the 'offer 1' 'description' etc...

Nathan.

I do click save and then publish. To be honest I have actually tried to preview the site in the site builder but then the box doesnt even come up at all. Only when I publish my site and have a look at it myself in a new tab... then the box comes up.

I cleared my cache and cookies and still nothing.

I have done all of the above many times with out any luck. I am sure I'm doing something wrong here...?

Thanks for getting back to me...
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Does the changes actually show on your side?
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
It should change.

Do you want me to check this out for you if so please go here:

Campfire Chat

Please tell me once your on the chat.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Bernhardt,

Try this code instead:


<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript">
function getCookie(a)
{
var b, c, d, e = document.cookie.split(";");
for (b = 0; b < e.length; b++)
{
c = e[b].substr(0, e[b].indexOf("="));
d = e[b].substr(e[b].indexOf("=") + 1);
c = c.replace(/^\s+|\s+$/g, "");
if (c == a)
{
return unescape(d)
}
}
}

function setCookie(a, b, c)
{
var d = new Date;
d.setDate(d.getDate() + c);
var e = escape(b) + (c == null ? "" : "; expires=" + d.toUTCString());
document.cookie = a + "=" + e
}
var Cookie_Name;
var Cookies;
var Box_Height;
var Box_Width;
var Padding;
var Shadow_Color;
var Shadow_Blur;
var Border_Radius;
var Border_Color;
var Border_Width;
var Border_Type;
var Background_Color;
var Overlay_Color;
var Overlay_Opacity;
var Text_Color;
var Close_Button;
var Box_Opacity;
var days = new Array(8);
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday";
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date(document.lastModified);
var wday = days[dateObj.getDay() + 1];
var lmonth = months[dateObj.getMonth() + 1];
var date = dateObj.getDate();
var fyear = dateObj.getYear();
if (fyear < 2e3) fyear = fyear + 1900;
$(document).ready(function ()
{
$('.line').css('border-bottom', '' + Border_Width + 'px dashed ' + Border_Color + '');
$('#copy').after('<div class="line"></div><br><div id="last" style="float:right;"></div><div id="close"></div>');
if (Cookies == "On" || Cookies == "on" || Cookies == "oN" || Cookies == "ON")
{
var a = getCookie("" + Cookie_Name + "");
if (a !== null && a !== undefined && a !== "")
{
return false
}
else
{
$("#whats_new").after('<div id="over"></div>').animate(
{
width: "" + Box_Width + "px",
height: "" + Box_Height + "px",
padding: "" + Padding + "px",
position: "relative"
}, 100).show(1300).css(
{
width: "20px",
height: "20px",
position: "fixed",
top: "34%",
left: "40%",
"margin-top": "-50px",
padding: "" + Padding + "px",
"margin-left": "-100px",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"z-index": "1002"
});
$("#over").css(
{
display: "none",
position: "absolute",
top: "0%",
width: "100%",
left: "0%",
height: "100%",
"background-color": "" + Overlay_Color + "",
"z-index": "1001",
"-moz-opacity": "." + Overlay_Opacity + "",
opacity: "." + Overlay_Opacity + "",
filter: "alpha(opacity=" + Overlay_Opacity + ")"
});
$("#copy").css(
{
position: "absolute",
bottom: "-45px",
left: "0%",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + ""
}).animate(
{
padding: "" + Padding + "px",
left: "21%"
}, 4e3);
$("#top").css(
{
position: "absolute",
top: "-60px",
left: "0%",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + ""
}).animate(
{
padding: "" + Padding + "px",
left: "33%"
}, 4e3);
$("#over").show(2e3);
$("#close").click(function ()
{
$("#whats_new").hide(1300);
$("#over").hide(2e3)
}).html('<img src="' + Close_Button + '" width="23" height="23" style="position:absolute;top:-8px;right:-8px;cursor:pointer;"/>');
setCookie("" + Cookie_Name + "", "yes", 365)
}
$("#last").html("Last Updated on " + wday + ", " + lmonth + " " + date + ", " + fyear + "")
}
if (Cookies == "Off" || Cookies == "off" || Cookies == "oFf" || Cookies == "ofF" || Cookies == "OFF")
{
$("#whats_new").after('<div id="over"></div>').animate(
{
width: "" + Box_Width + "px",
height: "" + Box_Height + "px",
padding: "" + Padding + "px",
position: "relative"
}, 100).show(1300).css(
{
width: "20px",
height: "20px",
position: "fixed",
top: "34%",
left: "40%",
"margin-top": "-50px",
padding: "" + Padding + "px",
"margin-left": "-100px",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"z-index": "1002"
});
$("#over").css(
{
display: "none",
position: "absolute",
top: "0%",
width: "100%",
left: "0%",
height: "100%",
"background-color": "" + Overlay_Color + "",
"z-index": "1001",
"-moz-opacity": "." + Overlay_Opacity + "",
opacity: "." + Overlay_Opacity + "",
filter: "alpha(opacity=" + Overlay_Opacity + ")"
});
$("#copy").css(
{
position: "absolute",
bottom: "-45px",
left: "0%",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + ""
}).animate(
{
padding: "" + Padding + "px",
left: "21%"
}, 4e3);
$("#top").css(
{
position: "absolute",
top: "-60px",
left: "0%",
border: "" + Border_Width + "px " + Border_Type + " " + Border_Color + "",
color: "" + Text_Color + "",
opacity: "0." + Box_Opacity + "",
filter: "alpha(opacity=" + Box_Opacity + ")",
"background-color": "" + Background_Color + "",
"border-radius": "" + Border_Radius + "px",
"-moz-border-radius": "" + Border_Radius + "px",
"-o-border-radius": "" + Border_Radius + "px",
"-webkit-border-radius": "" + Border_Radius + "px",
"-khtml-border-radius": "" + Border_Radius + "px",
"box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-moz-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-webkit-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-o-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + "",
"-khtml-box-shadow": "0px 0px " + Shadow_Blur + "px " + Shadow_Color + ""
}).animate(
{
padding: "" + Padding + "px",
left: "33%"
}, 4e3);
$("#over").show(1300);
$("#close").click(function ()
{
$("#whats_new").hide(1300);
$("#over").hide(2e3)
}).html('<img src="' + Close_Button + '" width="23" height="23" style="position:absolute;top:-8px;right:-8px;cursor:pointer;"/>');
$("#last").html("Last Updated on " + wday + ", " + lmonth + " " + date + ", " + fyear + "")
}
});
</script>

<script type="text/javascript">
Cookies = 'Off';
Cookie_Name = 'try150';
Box_Width = '470';
Box_Height = '290';
Padding = '10';
Shadow_Color = '#0566B5';
Shadow_Blur = '10';
Border_Radius = '4';
Border_Color = '#0766B4';
Border_Width = '1';
Border_Type = 'solid';
Text_Color = '#000000';
Background_Color = '#ffffff';
Overlay_Color = '#015A7D';
Overlay_Opacity = '60';
Box_Opacity = '99';
Close_Button = 'http://www.mattcmiller.net/css/images/close_button.png';
</script>

<div id="whats_new" style="display:none;">
<h2 id="top">Special Offers</h2>
<span style="font-size:25px;">Offer 1</span><br>
<span style="font-size:19px;color:grey;">Offer 1 Description</span><br><br>
<span style="font-size:25px;">Offer 2</span><br>
<span style="font-size:19px;color:grey;">Offer 2 Description</span><br><br>
<span style="font-size:25px;">Offer 3</span><br>
<span style="font-size:19px;color:grey;">Offer 3 Description</span><br><br>
<center id="copy">Copyright © 2011 HelderbergAds.com. All Rights Reserved.</center>
</div>


This is the code but the Javascript is not in an external file which I think that's the problem.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Hi Shawn

Tried this code but still no change... im on that chat link you gave me... will be on there for the next hour and then Ive got to run... Hope we can sort this... :)
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Hi Shawn

Got it to work!!... :) but I got some qeustions for you...

I changed some of the fields and as you can see in the screen shot that the caption and footer moved way out of place by doing this.... Can we fix that (bring them back to center)?

Then is it possible to center the text inside the box... The special and the description?



Your help is very much appreciated
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Bernhardt,

Actually I cant fix it. I might just have to take that feature out and add the stuff directly in the box. I will have to put on hold just for today as Im getting Sajid-M code done.
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
Oh goodness.... haha... okay no prob man... I changed the wording so it looks fine now... So lets keep the header and footer as is... :) Is there a way you can center the text in only the box though?
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Yes you can wrap the words you want to center in center tags.

Like this:

<center>This text is centered now.</center>
Photo of Bernhardt

Bernhardt

  • 70 Posts
  • 0 Reply Likes
thanks a lot Shawn for all your efforts!! :)
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Your so welcome. Wow, it took some time to get your problem fixed!

Thanks very much for giving me something to do. I really enjoyed it.

I will now end this post and I will try and open a new one soon.

By end I mean, I will not reply anymore.

Best Regards,
Shawn
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
I will now end this post and I will try and open a new one soon.

By end I mean, I will not reply anymore.

Best Regards,
Shawn
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hi Shawn

The post could get too long and unwieldy if people keep requesting. Maybe you should add a new post each month? For example: November 2011 Code Help or something like that.

Just a thought ;)
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Great IDEA!
Photo of XP

XP

  • 287 Posts
  • 2 Reply Likes
Hello,
How to do the promotion thing can move like this?

The site: http://www.playfish.com/

Thanks, Mai.
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hello Mai

Shawn may not be looking at this thread anymore because he is starting a new Code Request thread for each month. You can see the November one here: November code request. Hopefully he will add one for December soon.
Photo of Shawn Holman

Shawn Holman

  • 486 Posts
  • 26 Reply Likes
Mai, I will be making a new post for code requests. But they make the promotions move with Flash.
Photo of XP

XP

  • 287 Posts
  • 2 Reply Likes
OK...