Author Topic: ad resizing on embedded forum page  (Read 1536 times)

0 Members and 0 Guests are viewing this topic.

Offline socialbot

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
ad resizing on embedded forum page
« on: April 20, 2011, 04:01:46 pm »
hi everyone,


I have a (free: with ads ) forum embedded in my website. The frame in my website's html defines the width and height for the forum source. This resizes the forum on my website. But the (free forum) ads do not get resized and overflow.


I'm new to html and building websites. Am I doing something wrong here? Is there a way around this?


Appreciate any help.

Share on Facebook Share on Twitter


Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 12
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile
Re: ad resizing on embedded forum page
« Reply #1 on: April 20, 2011, 09:20:39 pm »
Are you hosted with CreateAForum?
Terms Of Service

Please don't PM me with support questions

Offline socialbot

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: ad resizing on embedded forum page
« Reply #2 on: April 28, 2011, 03:22:51 pm »
Yes. I am.

Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 12
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile
Re: ad resizing on embedded forum page
« Reply #3 on: April 28, 2011, 09:26:33 pm »
Forum URL please? I want to see what you're trying to do.
Terms Of Service

Please don't PM me with support questions

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile
Re: ad resizing on embedded forum page
« Reply #4 on: April 30, 2011, 03:29:56 am »
You can't resize Ads.  Ads are created with an adobe script I believe, not just plain images.

If it was an image, you could resize it, but since it isn't, I'm pretty sure you can't.
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
828 Views
Last post September 09, 2013, 03:55:29 pm
by Yaga_Vidal
0 Replies
459 Views
Last post September 20, 2014, 02:28:49 pm
by kingsleymichael
4 Replies
301 Views
Last post February 24, 2015, 09:55:06 pm
by kingsleymichael
0 Replies
77 Views
Last post January 08, 2019, 08:33:14 am
by StefanN
8 Replies
208 Views
Last post June 18, 2020, 02:50:38 pm
by David_Cos