The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Re-sizing the Homepage Message with Widget Toggle

View previous topic View next topic Go down

In progress Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 24th 2013, 1:49 am

Hello;

I have added two homepage messages on my homepage through "homepage description". And then I added the widget toggle to my forum (www.pacvwr.forumstopic.com). Now when I toggle the widget (on the right), the homepage resizes itself but the homepage messages dont. How can I make the messages to resize themselves with each toggle?

Thanks in advance.


reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by Jophy on March 24th 2013, 7:53 am

Hello,

Is this the tutorial you added?:
http://help.forumotion.com/t78898-show-hide-widgets-script

It works here on the ESF even on the homepage messages.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 24th 2013, 6:05 pm

yes sir that's what I have used. but unfortunately it doesn't seem to work on the homepage messages.

reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by Jophy on March 25th 2013, 9:08 am

I'm not sure, can you try other themes?

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 26th 2013, 11:48 am

^^^nope, I cant. have a theme designed to go with the club colors and all.

reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by Sanket on March 26th 2013, 12:51 pm

What are the codes you used? They seem to be having fixed width.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 26th 2013, 3:54 pm

There are total two messages on the homepage. down below is the code that I used. I want both the messages to autofit once the widget toggle is active.

Code:
<!DOCTYPE html>

<html>

<head>
<style type="text/css">
    a { text-decoration: none; }
    a img { border: 0; vertical-align: text-center; }
    </style>
</head>

<body>
<body style="background-color:#555;">
<table>
<tr>
<td>
<a href="default.php" title="PACVWR ONLINE AIR-COOLED VW REGISTRATION FORM">
<img border="0" src="http://dl.dropbox.com/u/55558317/PACVWR/image002%20(1).png" alt="PACVWR LOGO" style="float:left" width="50" height="50"> </a>
</td>
<td>
<a <h1 style="text-align:Left; font-size:18px; line-height:30px; font-family:Arial Black; color:black; ">PACVWR AIR-COOLED VW REGISTRATION</h1></a>
</td>
</tr>
</table>

<iframe src="https://docs.google.com/spreadsheet/embeddedform?formkey=dHZjbE0teXBhT1B1TkdjOV8ya09IZmc6MQ" width="940" height="410" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>

</body>

</html>

<br> </br>

<!DOCTYPE html>

<html>

<head>
<style type="text/css">
    a { text-decoration: none; }
    a img { border: 0; vertical-align: text-center; }
    </style>
</head>

<body>
<body style="background-color:#555;">
<table>
<tr>
<td>
<a href="default.php" title="PACVWR CONVOY TO 4TH VCCCP CROSS COUNTRY RALLY REGISTRATION">
<img border="0" src="http://dl.dropbox.com/u/55558317/PACVWR/image002%20(1).png" alt="PACVWR LOGO" style="float:left" width="50" height="50"> </a>
</td>
<td>
<a <h1 style="text-align:Left; font-size:18px; line-height:30px; font-family:Arial Black; color:black; ">PACVWR CONVOY TO 4TH VCCCP CROSS COUNTRY RALLY 2013 REGISTRATION</h1></a>
</td>
</tr>
</table>

<iframe src="https://docs.google.com/forms/d/1LsRtBhOKXiS-BvAJ_kUUifKeLNrqWUguzwFJF8XenIk/viewform?embedded=true" width="940" height="220" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>

</body>

</html><div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=206870962792621";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-comments" data-href="http://www.pacvwr.forumstopic.com" data-width="922" data-num-posts="10"></div>

reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by Sanket on March 26th 2013, 3:59 pm

You should not be adding that whole code which contains the whole html page content. Either ways, those iframes have width set as 940. Hence, they won't take up the space when the widget is hidden.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 26th 2013, 4:03 pm

^^^is there a way to make iframe's width dynamic to autofit with toggle?

reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by Sanket on March 26th 2013, 7:07 pm

I don't think so.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Re-sizing the Homepage Message with Widget Toggle

Post by reezvaan on March 27th 2013, 1:30 am

ok thanks. I am thinking there might be a way to port the homepage messages to the bottom of the homepage?

I just switched to invision from phpbb3.

Edit:
P.S.: I have already tried this: http://www.avacweb.com/t137-a-little-html-sidebar-trick-widgets-up-top but it doesn't seem to work.

reezvaan
Forumember

Posts : 27
Reputation : 1
Language : English

http://www.pacvwr.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum