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.

Backes

Members
  • Joined

  • Last visited

  1. Backes posted a topic in Frontend
    Hey, I found this CSS code on a webpage background:url(img/body_bg.jpg) no-repeat scroll center 35px rgb(247, 252, 255); When I now want to write this in CSS2, I have this: background-image:url(img/body_bg.jpg); background-repeat:no-repeat; background-attachment:scroll; background-position:center; background-color:#FFF; But I can't figure out, what the "35px" means in the CSS3 code. Without this value, the background image starts in the middle of the image. //edit: The "35px" are used like this: background-position:center 35px;
  2. Hey guys. I'm new in Javascript so I need help. I am creating a live game map from an online game. The Data(coordinates,userid, etc.) is exported as json. My problem ist now to create a map, where everything is visualised. I have a the map in image files: {X}x{Y}x{Z}. {X} and {Y} are the coordinates and {Z} is the zoom level.(.jpg files). I want later, that the data is imported with Ajax, but to solve this problem, I first need a map^^. The map should be composed like the image you can see here. in PHP the visualisation is like the code below. Hey guys. I'm new in Javascript so I need help. I am creating a live game map from an online game. The Data(coordinates,userid, etc.) is exported as json. My problem ist now to create a map, where everything is visualised. I have a the map in image files: {X}x{Y}x{Z}. {X} and {Y} are the coordinates and {Z} is the zoom level.(.jpg files). I want later, that the data is imported with Ajax, but to solve this problem, I first need a map^^. The map should be compoesed like the image you can see here. in PHP the visualisation is like code below. <?php $x=0; $y=0; for($z = 0; $z < 5 ; $z++){ for($i = 0; $i < 5 ; $i++){ echo '<img src="map_img/'.$x.'x'.$y.'-4.jpg" alt="">'; $x++; } $x = 0; echo("<br />"); $y++; } ?> //I can't use the code tags, because I'm a new User and I can't post "links" before 25 posts... The first step I want is the creation of a coordinate system(topleft(0,0)) and the visualization of my mapfiles(one zoom level is enough for the beginning^^). Has anyone ressources on how to create such a Map? The first step I want is the creation of a coordinate system(topleft(0,0)) and the visualization of my mapfiles(one zoom level is enough for the beginning^^). Has anyone ressources on how to create such a Map?

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.