Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-02-06 22:05:07

Eri
Member
Registered: 2011-03-18
Posts: 977

mobile css,js on CDN

change your header js file with those, will make mobile site faster because those are hosted on CDN, also ne need to pay for bandwidth smile

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.2/jquery.mobile-1.1.2.min.css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.2/jquery.mobile-1.1.2.min.js"></script>

Also adding this on meta will scale the page better on some smartphones
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#2 2014-02-07 10:04:02

Tigershark87
Member
Registered: 2012-12-05
Posts: 55

Re: mobile css,js on CDN

I'm curious why you have chosen to use an older version of Jquery instead of updating to version 2.. Do you have a large amount of your users using IE 6, 7 and 8? If so than I understand because obviously 2.0 doesn't support those browser types.

Last edited by Tigershark87 (2014-02-07 10:04:44)

Offline

Board footer

Powered by FluxBB