Scroll to given element on the page.


 

Some examples about how to scroll to a given page element.

All this code must be wrapped into <script type="text/javascript>custom code stays here</script> tags.

 

Scroll to the element on page load:

 

$(window).load(function() {

$('html, body').animate({ scrollTop: $("<selector>").offset().top},2000);

});

 

Scroll to the element on page ready:

 


$(document).ready(function() {

$('html, body').animate({ scrollTop: $("<selector>").offset().top},2000);

});

 

Scroll to the element on click:

 


$("<selector>").click(function{

$('html, body').animate({ scrollTop: $("<selector>").offset().top},2000);

});

 

2000 - Time in milliseconds (1000 ms = 1 s) that the animation needs to complete. Reduce the amount for quicker and increase for slower motion.

 

More info about the <selector> and how to use it here: JQuery selectors - how to select items on page properly

 

Print  posted by atanas   Jquery/Ajax tags:  • javascript • scroll • top 

0:1364286579:1

Collapsible (toogable) menus.


Collapsible Menus (checkbox) - Sets menus to collapsible mode - so you will need to click menus to expand and access pages. If the option is not checked, all menus are visible at the same time. This option is available only for templates with vertical categories and menus.

 

To activate this, go to Project Template (section "Submenu Settings"):

 

Collapsible submenu activation


Print  posted by atanas   Templates tags:  • collapsible • submenus • toggle 

3:1358762837:1

Survey generated embed code


Generate Embed Code area:
2 options available:

 

  1. Use this without users identification - it simply creates and iFrame code that can directly be put on some external page (site) and it will show the survey, cleaned from the template survey site use (custom CSS can be added, as well as some extra settings to make it look as preferred). In this case all customers are processed as guests.

  2. If user identification is used, 2 extra parameter are passed via script, that allow user recognition. Paremeters "markers" are filled in the corresponding fields and after that, when this code is put on the external page (site), these markers must be replaced with unique id and some name (name is not necessarily unique). Parsing can be done via PHP or JS and markers must be replaced with information about current logged user on the external site. This is up to the external site admins/developers how they will replace properly this information.

 

Notes:

  • When users are processed as guests, their responses are processed (added into the statistics) only when they reach the final page. Also they cannot turn back and edit their answers.

  • If option 2 is set up, then users are know to the system and they can re-open the survey and edit what they have filled. System keeps the information they have filled, auto-fill it when they open given page and they edit what they want. Changes are reflecting the statistics. Their responses are processed on every page submit (when they click "next" or "previous" buttons).

Print  posted by atanas   General tags:  • survey • embed • code • generate • settings 

0:1354872852:1

CSS3 Gradients


!available since version 4.0.0.513

 

with CSS3 gradients you can define background gradients for any css based element in ezgenerator

CSS3 gradients are supported by all modern browsers (including  IE10), for IE6-IE9, only simple 2 steps horizontal and vertical gradients are supported

 

gradients

 

to use CSS3 gradients,

- select gradient type (vertical, horizontal, diagonal or radial) in BACKGROUND section of css properties  (1)

- by default, gradient use 2 stops (2) (0% and 100%), but with right click on gradient bar you can also work with 4 stops gradients

- select one of the stops (2) and move it with mouse to desired position, selected stop have Red color arrow

- you can change color (including opacity) for selected stop with color selector (3)


- you can see instant preview (4) of  gradient in most dialogs, but as ezgenerator use IE for internal previews, you will have to update your internet explorer to version IE10 to see all types of gradients correctly inside ezgenerator

Internet Explorer 10 is default browser on Windows 8, but is also available for Windows 7 from here


Print  posted by miro   General tags:  • CSS3 • gradients 

0:1354044358:1

Users Import


IMPORTANT!

This works only if server has PHP version 5.0 or higher.

 

To import users into your current database, follow these steps:

 

  1. Login as Admin on the site, and navigate to Users management section.
  2. Click the Import button.
  3. Select the .csv file and click Upload
  4. Page will show info about the file and the first 2 lines (or part of them if they're too long). Use this information to:
    • select proper text delimiter (char that encloses the values)
    • select proper field delimiter (char that separates enclosed values)
    • if first row contains field names, check the box to indicate this
  5. Once correct settings are selected, click on Assign fields (extra form with the fields will show up after a bit).
  6. Assign proper field to each of the current site fields (some of them may alredy been auto-selected for you, but make sure selection is proper)
  7. If you have passwords field and in the CSV file contains the real password, check the Use real passwords checkbox.
    • Notice: If you have some coded passwords, most probably they won't be usable in EZG.
  8. Select access that will apply to all imported users.
  9. Import.

 


Print  posted by atanas   Central Admin tags:  • import • user • users 

0:1353671076:1


[1] 2 3 4 5 6 7 ... 18 [next]1-5 of 86


CATEGORIES


home



TAGS



RECENT ENTRIES



ARCHIVE