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.

Java Popup Coding

Featured Replies

I have set up my website and have pages of photoso which when clicked on I want a popup to be opened with a larger picture in. The script I am using is

 

<script language="javascript">

<!--//

function myPopup(url,windowname,w,h,x,y){

window.open(url,windowname,"resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+w+",height="+h+",left="+x+",top="+y+"");

}

//-->

</SCRIPT>

 

This however does not seen to work on the newer versions of IE but it does work on safari. Is there any simple change I can make to it so it will work on IE?

 

An example of one of my pages is:

 

http://www.jackhelliarphotography.co.uk/DartTotness.html

 

Many thanks,

 

Jack

  • 2 weeks later...

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.