Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install on web site... #49

Closed
pharmacy009 opened this issue Apr 9, 2014 · 8 comments
Closed

How to install on web site... #49

pharmacy009 opened this issue Apr 9, 2014 · 8 comments
Labels

Comments

@pharmacy009
Copy link

Hello,

I really like you script. I want to use on my website for window.alert created by javascript and run in browser. So far I have copied all .js file in js folder and css files in css folder. I have also included source link to my default header page but still it is showing me regular browser created pop up box....

<script src="js/vex.combined.min.js"></script> <script src="js/vex.dialog.js"></script> <script src="js/vex.dialog.min.js"></script> <script src="js/vex.js"></script> <script src="js/vex.min.js"></script> <script>vex.defaultOptions.className = 'vex-theme-os';</script>
@adamschwartz
Copy link
Contributor

Try changing window.alert to vex.dialog.alert.

@pharmacy009
Copy link
Author

I am sorry to bother you. Please bear with me. Where can I find window (alert) function? Is it usually in script folder or under JS folder of web site...

Thx

Manan

Pharmacy Exam

5012 Taylor Lane

Ellicott City, MD 21043

www.pharmacyexam.com

info@pharmacyexam.com

1-888-325-2928

If you like our service or product please place a good review on the product section of our web site so that we can reach more people. Your support is greatly appreciated.

Follow Us:

Facebook

Twitter


From: "Adam Schwartz" notifications@github.com
Sent: Tuesday, April 08, 2014 11:26 PM
To: "HubSpot/vex" vex@noreply.github.com
Cc: "pharmacy009" info@pharmacyexam.com
Subject: Re: [vex] How to install on web site... (#49)

Try changing window.alert to vex.dialog.alert.

Reply to this email directly or view it on GitHub.

@adamschwartz
Copy link
Contributor

Yup! Wherever you are authoring your javascript code.

@pharmacy009
Copy link
Author

Is it under any specific java code file? I have attached snapshots from both folder. Please let me know.

Thank you so much for your time and support...

Manan

Pharmacy Exam

5012 Taylor Lane

Ellicott City, MD 21043

www.pharmacyexam.com

info@pharmacyexam.com

1-888-325-2928

If you like our service or product please place a good review on the product section of our web site so that we can reach more people. Your support is greatly appreciated.

Follow Us:

Facebook

Twitter


From: "Adam Schwartz" notifications@github.com
Sent: Wednesday, April 09, 2014 9:58 AM
To: "HubSpot/vex" vex@noreply.github.com
Cc: "pharmacy009" info@pharmacyexam.com
Subject: Re: [vex] How to install on web site... (#49)

Yup! Wherever you are authoring your javascript code.

Reply to this email directly or view it on GitHub.

@adamschwartz
Copy link
Contributor

I don't believe you can attach files to a GitHub issue comment using an email. Please visit the issue page on GitHub (at github.com/HubSpot/vex/issues/49) and view the discussion there.

@adamschwartz
Copy link
Contributor

I would try custom.js in script folder.

@pharmacy009
Copy link
Author

Thanks. Please close... The issue is resolved. Thank you so much...

@adamschwartz
Copy link
Contributor

@pharmacy009 happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants