Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to reconfigure automatic theme?

Featured Replies

hello,

at this moment i use the ultimate theme for one of my wpi's,and it works fine.But i have a little probleme with the the screen size.When i work on 1280 the list of programmes go inside into config menu.

screen 1280:

post-109788-1159552999_thumb.jpg

screen 1024:

post-109788-1159553055_thumb.jpg

Can everyone telle me how to resize automaticly the them for differente screens? :}

The Ultimate theme is made specifically for the 1024x768 resolution. The background, which contains the sidebar image, is 1024x768. Therefore when you go to 1280x1024 the background gets streched and produces the less sharp and larger sidebar.

The only way to fix it is to either make a duplicate background with a 1280x1024 resolution or make a separate image for the sidebar that looks like current one and rearrange the html code to show it dynamically. I'm afraid neither one is going to easy or worth the trouble.

I think I would try to contact the author of the theme and ask for a 1280 size background. Its worth a shot at least.

  • Author

I have searched this night to find a other solution,and i have find a little javascript.But i have problemes to insert this script into my wpi.htm file.So i need some help from you.

Normaly il this script will changes the background image if the screen resolution changes.

<script type="text/javascript">
if (screen.width==1024||screen.height==768)
document.write('<img id='bgpic' src='./Themes/Ultimate/BGMain.gif' width="100%" height="100%">');

else if (screen.width==1280||screen.height==1024)
document.write('<img id='bgpic' src='./Themes/Ultimate/BGMain2.gif' width="100%" height="100%">');
</script>

But something goes wrong when i try to take into my wpi.htm file.

here the original source code:

<script type="text/javascript">
sizer();
if (top.status != "")
winheight = top.status;
cols = Math.round((winheight/3*4)/320,0);
if (!maxentries)
{
switch (winheight)
{
case '600':
maxentries=19;
break;

case '768':
maxentries=26;
break;

case '1024':
maxentries=38;
break;

case '1200':
maxentries=44;
break;

default:
maxentries=31;
break;
}
}
</script>

<div id='bgpiclayer' style="z-index:-1; position:absolute; top:0; left:0; width:100%; height:100%; display:block; overflow:hidden;">
<img id='bgpic' src='./Themes/Ultimate/BGMain.gif' width="100%" height="100%">
</div>
<script type="text/javascript">
if (BgPicture != '')
document.all.bgpic.src = "./Graphics/" + BgPicture;
</script>

<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">

Somebody can tell me how i cans itegrates the script to my htm file?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.