Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

Slow-loading JavaScript

Featured Replies

I have a page (page) which has a JavaScript (JavaScript) that is supposed to add backgrounds and images and make the trees pulse. But whenever I look at this in a new browser, the page doesn't work properly, almost as if the script isn't loading properly. Refreshing the page will sort that out, but I can't ask a visitor to refresh the page just the see the website.

 

Does anyone else get this problem? Does anyone know how I can get around this?

 

...and while I've got this board's attention... at the start of my main function I had a variable defined thusly:

var rel = el(elem).getAttribute('rel');

For some reason, this doesn't seem to work when it's near the top and I have to define it twice in internal functions. Does anyone know why?

I looked at the page your NAV isnt finished.

 

The trees show and pulse....

 

TRY:

 

div#land ul#main_nav li {world (line 63)

display:inline-block;

float:left;

text-align:center;

width:200px;

 

div#land ul#main_nav li a {world (line 69)

color:#DDDDDD;

display:inline-block;

float:left;

text-decoration:none;

 

div#land ul#main_nav {world (line 54)

left:50px;

list-style-type:none;

margin:0;

padding:0;

top:250px;

width:100%;

 

And see what you think.

 

Cya

Create an account or sign in to comment

Account

Navigation

Search

Search

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.