Skip to content
View in the app

A better way to browse. Learn more.

Tip.It 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.

HTML/Javascript/CSS Help

Featured Replies

You need DHTML layer for this

Suggestion: You can use Anchor on Waterfiends - is cheap if to compare to GS & effective with crush attack & it hit like Whip.

Maitvanagis.gif

Visit my exp track

  • Author
Here's one you can use:

 

 

 

http://www.berzerk.co.uk/box/BOX.zip

 

 

 

And here's a demo:

 

 

 

http://www.berzerk.co.uk/box/

 

 

 

TTFN,

 

Clare.

 

 

 

Eek that's complicated :? I'll see what I can learn from it. Thanks!

P.s. Just another quick question though, does anyone know how to get the box to display to the left hand side of the pointer, if the box will appear off the right hand side of the page?

 

 

 

I don't have any complete code for you(don't have time to bulid and test). However, you would need to get the viewable width of your page.

 

Subtract the e.clientX from your viewable width. If the result is less than the width of your floating div, then you will need to adjust to the left(e.clientX - divwidth - arbitraryamountyoudecide). e.clientX is your mouse position when the event was called. If it's at point 442, your page width is 500, and you div witdh is 100, then it isn't going to fit without running over the page.

 

 

 

Here are two functions for getting the viewport width and height of the page

 


function pageWidth()



{



	return window.innerWidth || (document.documentElement.clientWidth || document.body.clientWidth);



}



function pageHeight()



{



    return window.innerHeight || (document.documentElement.clientHeight || document.body.clientHeight);



}

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.