|
Joined: Jul 2006
Posts: 116
member
|
member
Joined: Jul 2006
Posts: 116 |
Is it possible to have CSS style, and even Javascript, drop-down menu navigation functioning in a custom Portal island?
I ask because this kind of functionality requires <script> and <style> elements defined in the <head> of the html.
On a related note, it would be nice to be able to Preview a custom island for development/debugging purposes in the editing form.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Is it possible to have CSS style, and even Javascript, drop-down menu navigation functioning in a custom Portal island?
I ask because this kind of functionality requires <script> and <style> elements defined in the <head> of the html.
On a related note, it would be nice to be able to Preview a custom island for development/debugging purposes in the editing form. sure, insert your head properties in the inserts section of the cp...
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
You should be able to put it directly into the portal box. Agree a preview might be an idea
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I woudln't go adding content that doesn't belong in the CI into a CI... it doesn't follow proper standards
|
|
|
|
Joined: Jul 2006
Posts: 116
member
|
member
Joined: Jul 2006
Posts: 116 |
Got it working, thanks for the replies. I put everything into the CI, even if it doesn't follow standards, because: a) it requires it's own CSS and .js, a) the functionality is only required for this CI, and I'd like to easily switch it off in one place, b) it's a temporary solution Demo can be seen in the "Site Menu" CI on my site.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Interesting enough; glad you got it working
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
no harm in not following standards
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
'eh so long as it doesn' tbreak alternative browsers, no harm in doing a lot
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
815
guests, and
186
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|