| Issue 65: | Need urgent help!-Newbee | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hello, first this is a freat plugin and I'm glad I discovered it. I have some issues using and customizing the whole thing. The project I'm working on is: http://www.hyponetwork.de/index.php?id=84 clicking on: "RÜCKRUF-SERVICE" should bring up (nytoModal) a form which the user can fill out and send. the HTML looks like this: <h4><a href="index.php?id=rckruf_service_formular" class="nyroModal" >RÜCKRUF-SERVICE</a></h4> my js: $(document).ready(function() { $('#main_col a.nyromodal').nyroModal({ bgColor: '#333' }); }); But the instead of the nyroModal window opening, I'm simply taken to the actual page with the form. I'm probably missing quite a lot here but I'm new to all this so please can anyone help?
Aug 16, 2008
Thank you so much for the reply.
Now it works fine.
I still have some questions-I hope you don't mind. Oh, and excuse my ignorance.
Using:
$(function() {
$.fn.nyroModal.settings.bgColor = '#333333';
});
When should this come?
After:
$('#main_col a.nyromodal').nyroModal();
or before;
Will it then be like this?
$(function() {
$('#main_col a.nyromodal').nyroModal();
$.fn.nyroModal.settings.bgColor = '#333333';
});
Also, what is the difference of:
$(function() {
$.fn.nyroModal.settings.bgColor = '#333333';
});
to:
$(document).ready(function() {
$('#main_col a.nyromodal').nyroModal({
bgColor: '#333'
});
});
One more.
I have my own validation for the form.
Will it still work inside the nyroModal?
Where will I need my link my validation.js on the page where the form is or on the
page where I call the nyroModal?
Again,
thank you so much for taking the time and I'm sorry if some or all of my questions
sound too basic.
|
Labels: -Type-Defect Type-Other