Forums / Setup & design / Advise on auto popup info button and ajax implementation

Advise on auto popup info button and ajax implementation

Author Message

Deo G W

Monday 20 August 2007 6:22:17 am

I just implemented AJAX techniques to allow user-friendly visual selection of mobile phones for use.
Check this out www.mobilemediacentre.nl/en/registration

http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-1.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-1-2.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-2.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-3.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-4.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-5.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-6.png
http://i101.photobucket.com/albums/m44/DeooGi/SC-REGI-AJAX-7.png

Click on the cell phone icon, there will be an in-line popup.
I used GrayBox to do this. You can select the cell phone manufacturers on the left hand side, and choose your type of device in the middle frame. When the mouse hover the device image, product functionality and compatibility of the chosen device will be displayed on the right side under the device image.

All cell phone info is retrieved from database. After you selected the device, you will be linked back to the registration page and see which device you have chosen.

I have so far got some remarkable feedbacks:
<i>make the information popup only popup when it is clicked. (The i - image). Since an accidental hover may cause an unwanted popup. You could just use a tooltip saying, click for more info etc.

You may take this option to onClick event rather than OnMouseover, which will take more advantage as this icon is very nearby to text box which is sure an accident for many one. Also rather than closing the same window with onMouseOut keep the close button as people dont like mouse cursor on text or presentation where they are looking around. As far the concept is very nice and interactive.

First off, I think it works REALLY well!
I can understand the criticism though because it does introduce inconsistency on your page. Sometimes you do expect the user to click, and in other parts of your interface you don't.
I think the "i" would work just as well as clickable and would stop the "surprise" element just from scrolling the mouse over it.
But it does all have a great look and feel.</i>

Well, the original idea behind the auto-popup for the info button is to give the site viewers a simple and ease expression; they don't have to make the unnecessary click if they don't want to. It's also very true that viewers will get annoyed by accidentally hovering the INFO icon over and over.

modified the auto popup information button according to the feedbacks that I got. any better suggestions?

Regards,

eZ debug

Timing: Jan 20 2025 04:10:47
Script start
Timing: Jan 20 2025 04:10:47
Module start 'content'
Timing: Jan 20 2025 04:10:49
Module end 'content'
Timing: Jan 20 2025 04:10:49
Script end

Main resources:

Total runtime2.0122 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.2109180.7969
Module start 'content' 0.00761.8407 770.0078422.4453
Module end 'content' 1.84820.1640 1,192.4531333.7500
Script end 2.0122  1,526.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2000210.0002
Check MTime0.00150.0766210.0001
Mysql Total
Database connection0.00060.028610.0006
Mysqli_queries1.950896.94651830.0107
Looping result0.00140.06921810.0000
Template Total1.973098.120.9865
Template load0.00200.098220.0010
Template processing1.971197.952520.9855
Template load and register function0.00010.004710.0001
states
state_id_array0.00150.075510.0015
state_identifier_array0.00080.039620.0004
Override
Cache load0.00160.0799260.0001
Sytem overhead
Fetch class attribute can translate value0.00150.074420.0007
Fetch class attribute name0.00050.025110.0005
XML
Image XML parsing0.00040.019620.0002
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00560.2788210.0003
String conversion0.00000.000330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs