Hi
Zikula 1.2.0
Theme: SeaBreeze
I’m trying to add a clickable map (area, shape=â€rect†coords=â€xyz†etc.) as a new page (Pages module) to my site. When I move the mouse over certain areas of the map, I’d like to pop-up a layer with additional information.
In head.html of my theme I’m referring to the necessary .css and .js files.
Outside of Zikula this works fine, but within Zikula the layers do not pop-up on mouse over. The area is being recognized (mouse pointer changes to hand pointer), but no layer pops up.
I
- activated the script tag and area tag in HTML settings
- tried a different theme
- checked page source – looks OK, it’s all there
What else can I try or look at?
Any ideas?
--
nitz
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Clickable map with pop-up layer
-
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Do you have an online URL to look at? That could help a lot.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
You tried a different theme. It also didn't work there? What other javascripts do you have loaded. There might be some interference ?
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
Yes, tried a different theme.
I have installed Scribite 3.1, Menutree 2.3 and zWebstore 1.0.112
Think that's all ...?
--
nitz -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
I mean the source of the page with the clickable map in it. If you look at the source what stylesheets and javascripts are there and what script did you use for the popups? Maybe you can post the header part of you page here in code tags
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
Quote
There might be some interference ?
Yes, but I do not know how to find out unless I do a fresh Zikula installation without Scribite, Menutree and zWebstore
-
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
Sorry, got you wrong there.
The forum does not let me post code, no matter if I use code tags.
The following files are loaded in the header tag:
- themes/SeaBreeze/style/style.css
- images/maps/popupmenu.css (from dynamicdrive.com, I use this for the map)
- images/maps/jquery.min.js (from dynamicdrive.com, I use this for the map)
- images/maps/popupmenu.js (from dynamicdrive.com, I use this for the map)
- modules/scribite/pnstyle/style.css
- modules/News/pnstyle/style.css
- modules/menutree/pnstyle/cssplay_flyout_ltr.css
- system/Users/pnstyle/style.css
- javascript/style.css
Thanks for your patience!
--
nitz -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Zikula uses prototype as Javascript library normally. I can imagine that it interferes with you jQuery here, although you don't seem to be loading any prototype files here.
You can also check to see if there is some z-index problem with you popup script. Like when seabreeze has z-index values defined and the popup assumes some value of z-index as well that is too low.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Nov 14, 2002
- Last visit: Jan 26, 2010
- Posts: 109
Here is what I did last night:
1. I deactivated (unloaded) the above .css files one by one - no difference.
2. I then created a new HTML block and tried the code in there - this works fine
So I belive the problem is somewhere with the News and/or Pages module. I'll give it another try!
--
nitz -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Do you have Firebug enabled in firefox (if you also use firefox)? Or safari that also has a good code inspecter. That can be a very helpful tool to see what is going on in the page. You can inspect the map element and see what CSS is valid for that part and than try to find the conflicting stuff.
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
