html5 - Another Firefox relative path conundrum -
ok. know stupid question, i've been traversing , google lastly many hours reply , found nothing.
i'm creating html5 mobile app using jqm 1.2.0 , google maps js v3 - set context. problem occurs when seek test page in ff 18 desktop version. in every other browser, mobile or desktop, i'm not having problems. also, have tried on both localhost server i'm deploying to, , it's same result.
in html file have relative link css , js files:
<script src="js/general.js" type="text/javascript"></script> <link rel="stylesheet" href="css/mobile.css"/>
while links jqm etc. absolute utilize cdn:
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
when utilize firebug, can see files absolute path loaded fine, while relative path links ignored - or @ to the lowest degree think so, nil shows in neither console or net pane.
when check html pane in firebug, appears if has included tag pr default (with right url), not if seek view page source using regular ff methods. though, have tried include explicit base of operations tag header , changes nothing.
so, sum up: relative path works fine in browsers except ff, it happens on both server , localhost.
update: tried moving files root dir, didn't help. also, when trying view content of js or css file in firebug (pressing arrow left of tag in index.html), says:
reload page source for: http://localhost/~u040800/app/general.js
which, of course of study not alter after reload.
nevermind - stupid error on side!!
note self: when developing, create sure add-ons disabled before asking so! otherwise, create finish ass of yourself!!
yes, right - forgot disable ad-blocker...
@robertc: sorry have wasted time.
html5 firefox path
No comments:
Post a Comment