Add ReplyNew TopicNew Poll

 Mobile_head macro
#
I would like to see the ability to include scripts into the <head> section of the Mobile site.

Possibly a macro call mobile_head?

Mobile_logo does not work for including scripts or third party CSS and breaks things.

signature
user posted image

Shift UI Development Thread
"Design is not just what it looks like. Design is how it works." - Steve Jobs
#
This would have to be a mobile wrappers type section and not a macro; as any new macros I add will have the same problems you're describing.

However I have to say I have not had any trouble with linking in .js files or CSS. How have you been doing it?

signature
email: admin@jcink.com :: blog: John C.
#
On some skins where the menu .tableborder is edited. Placing HTML into the macro for some reason disables the CSS of the first .tableborder and makes it uneditable. Not sure why it's doing it, but it is very strange.

I've been using and tried a few other things, all with the same results.
CODE
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'><link href='//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css' rel='stylesheet'>


But for some reason it works on the default skin, but breaks Shift UI (it edits that section of the mobile skin)

Maybe adding an ID to the menu .tableborder would work?

EDIT #2: Any HTML messes with the functionality of the menu .tableborder, it appears to apply the macro to the top of the menu. Regular text without HTML works however.

signature
user posted image

Shift UI Development Thread
"Design is not just what it looks like. Design is how it works." - Steve Jobs
#
QUOTE
EDIT #2: Any HTML messes with the functionality of the menu .tableborder, it appears to apply the macro to the top of the menu. Regular text without HTML works however.

That's so weird - I'll have to investigate that.

Frankly, that shouldn't be happening because the mobile_logo was intended for use with an <img src> tag.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | Feature Requests | Next Newest »

Options Add ReplyNew TopicNew Poll