Export to GitHub

nyromodal - issue #40

Documentation is not very good...


Posted on Jul 4, 2008 by Massive Kangaroo

Hello,

I'm a new user to nyroModal and I have to say that it's really fantastic. But the documentation is not adequate... I can't seem to uderstand how to change the default css values. I used the manual function to open a new modal and it works great, but when I try to insert settings function to that manual it doesn't work and I can't find a way to do it... There's no example for it and nothing in the documentation.

Comment #1

Posted on Jul 8, 2008 by Swift Panda

As I just said in the issue 41, I have to find time to review the doc and wrote more example.

If you would explain your problem, I'll be glad to help you and then add the solution we'll found in the future examples.

Comment #2

Posted on Jul 30, 2008 by Happy Horse

example usage is not well explained. only the html element code is provided, no the javascript. i can't understand for the life of me how to load new modal content from within an existing modal for example...

Comment #3

Posted on Oct 27, 2008 by Happy Camel

I am in the same boat. All I want to do is add the gallery modal but I can't even figure out how to initialize it. Would love to use this, any help would be appreciated.

Comment #4

Posted on Oct 28, 2008 by Swift Panda

If there is no javascript example, it's because the only javascript needed are jQuery and nyroModal. There is some example which needs more javascript, and the code is provided as well. Yo open a modal, you simply need to add the nyroModal class. To open a modal within a modal ? Add the nyroModal class on your links (as shown in demoSent.php for example)

Regarding the gally, you'll need some links with the same rel attribute and the class nyroModal, targetting an image. I don't see any trouble with that regarding what is provided in the documentation page or the example page.

Comment #5

Posted on Dec 9, 2008 by Massive Elephant

I'd have to agree. it's really some of the lamest doucmentation ever. If I was a jQuery expert, I wouldn't need documentation (or this plug in). I'm sure I'm not alone when I say, there are lots of people who would happily pay for real doucmentation, or a zip file with more working examples. (creator of jQuery, you could make THOUSANDS per month by offering a real manual a t a cost)

Comment #6

Posted on Dec 9, 2008 by Swift Panda

@illiquent Lamest documentation ever? Are you kidding? What about all the description about all the callback?

Don't forget that: - I'm doing it for FREE. I'm spending many time on it just because I want to. - This plugin isn't designed for dummy users. The target here is expert who knows what they doing and how works javascript and jQuery.

If you want to, write this documentation you need and I'll be happy to link it.

Comment #7

Posted on Dec 16, 2008 by Helpful Rabbit

I have to say that i agree. The documentation is for expert's only. If you take a look at your examples, it doesn't have a simple example to how to change some type of settings. For example, you said that we can use $.fn.nyroModal.settings, directly on nyroModal(), or $.nyroModalSettings(settings), but there is no example of using this functions, the way to call it properly.

For example, I want to change some CSS for the wrapper, so, based on the documentation, i tried this: $.nyroModalSettings({ css: { wrapper: { zIndex: 101, position: 'fixed', top: '110px', left: '50%', marginTop:'0px' } } }); $("a.nyroModal").nyroModal();

But, it doesn't work. I tried call the settings many different ways, but cant understand how this work, and putting the {css:{}} inside the nyroModal() doesn't work either.

It's a simple thing, but the documentation is too complicated and fail on explain simple things.

But, nice work on the Modal, it is perfect, unfortunately, the advance features are only for experts.

Comment #8

Posted on Dec 17, 2008 by Swift Panda

fleptronic, what you described is actually a bug! the deep copy wasn't done greatly. it'll be fixed in the next release.

regarding the documentation issue, I want to create a faq. The problem is that I don't have too much time right now.

I'm trying to do my best to fix and answer your question, but the time is not extensible...

Comment #9

Posted on Dec 18, 2008 by Helpful Rabbit

Thank you for the answer ced. Will keep an eye here to see when the Faq comes out. Keep doing the good work on the modal.

see ya

Comment #10

Posted on Feb 11, 2009 by Swift Panda

this bug is fixed in the version 1.4.0 just released.

Comment #11

Posted on Apr 30, 2009 by Helpful Bird

hi, i've found a weird thingy, i got local apache (install on my laptop) without changing anyting on the demo, guess what, it support to open up a model window. instead, the browser just jumped to another page. I'm not sure why i wouldn't run even with the original demo (no changes made).

please kindly provide some potential solution.

Thanks alot.

Comment #12

Posted on May 6, 2009 by Massive Wombat

this has been a great plugin. one thing i noticed, manual close doesn't seem to work when nyromodal is invoked manually? i set modal to true on loading it manually and in the content i have there a close button, but for some reason it doesn't close.

Comment #13

Posted on May 6, 2009 by Massive Wombat

i saw the problem, it messes up when jquery lightbox is around.

Comment #14

Posted on Aug 30, 2009 by Helpful Lion

On the topic of support and documentation..

Would you be willing to help some who donates as a show of gratitude and respect?

Simply I would like to use this tool/plug-in but like most users who are jquery or java-script experts I am getting stuck.

Comment #15

Posted on Aug 31, 2009 by Swift Panda

I could provide paid support or paid stuff as I'm a freelance. Check out http://nyrodev.com

But that's not the point of this plugin. If you're experiencing trouble while using it, create a new issue and I'll help you, unless you ask me to create a whole web app...

Comment #16

Posted on Dec 21, 2009 by Happy Horse

thanks for the plugin and the effort, i had some troubles with the documentation but is always the way that you read it...it's clear once you get the point. here's my question i use a manual call to have some interactivities with a swf object... i need some help with the close button, is there any manual close call? to close the nyroModal with flash?

great work by the way!

Comment #17

Posted on Dec 21, 2009 by Swift Panda

@spititoutslip: it was already andwered in an other issue and stored here: http://nyromodal.nyrodev.com/wiki/index.php/Close_a_modal_window_from_a_Flash_movie

Comment #18

Posted on Apr 10, 2013 by Happy Ox

Comment deleted

Comment #19

Posted on Apr 10, 2013 by Happy Ox

Comment deleted

Comment #20

Posted on Mar 10, 2014 by Massive Panda

I have an issue in NyroModal size feature. 1. Modal window automatically resizes even after initializing the height and width. It resizes to fit the main window and the content's max level. I do not want it to stretch. I want it to be constant siz through out.

  1. How do i dynamically pass the width and height of specific modal window from backend code. Such that each modal window is visible with specified size.

Please respond as soon as possible!

Status: Fixed

Labels:
Type-Defect Priority-Medium