Remove loading image

Howto remove the loading banner … see screenshot

@ ALL
The loading image is used to tell a visitor the scripts are loading / assembling the data or image which should be shown.

Normally a pop-up should have a background and the image is hidden behind the data.

It is not possible to remove the loading image for one pop-up only.
It is easier to adept the pop-up data to use a background.

@Soulmaster
Which pop-up / page are you referring to?
I can then check the code to add a background.

Wim

it show when i use a iframe

This widget code we can not modify ourselves.

Country Radar widget - InfoplazaWidgets

Aso there are no settings used. It is a take it or leave it widget.

Solution: move the loading-gif somewhat lower for all iframes.

First make a backup-copy of PHP_index2.php first
Then change in line 449 the position
from 50% wide 20px top
to 50% wide 50px top
The line looks now

    style=" '.$width.' height: '.$frm_hgth[$frame].'px; background: white url(./img/loading.gif)  no-repeat; background-position: 50% 20px; margin: 2px 2px auto; border: none;"

and should be changed to

    style=" '.$width.' height: '.$frm_hgth[$frame].'px; background: white url(./img/loading.gif)  no-repeat; background-position: 50% 50px; margin: 2px 2px auto; border: none;"

That should do it.

Succes,
Wim

@ ALL
As always when modifying the standard scripts:
Change the version number in line 1 of the script from |01| to |09|

$scrpt_vrsn_dt = ‘PWS_index2.php|09|2023-09-09|’;

merci, going to fix this :slight_smile: