PDA

View Full Version : Am I in the right place asking this question?


max
07-13-06, 02:08 AM
I have a question about getting a rollover button to work in Miva 5.

I put the function in the head and then I put the rollover action in where I would upload the image. Which is through the link for buttons and then the add to basket space.


<input type="image" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','graphics/00000001/addToCartButtonb.jpg',1)"><img src="graphics/00000001/addToCartButtona.jpg" name="Image1" width="120" height="25" border="0" id="Image1" />


Another code issue I am having it an odd request.

I want to allow people to either log in using a login name or with email address as the login name. I duplicated the login name space in the LOGN page but when you type in the login name and password and submit, Miva puts the login name in both spaces.

You can see what I am talking about here:

http://66.36.184.183/mm5/merchant.mvc?Screen=LOGN&Order=0&Store_Code=M

I really appreciate any advice I can get. Thank you so much.

Bruce - PhosphorMedia
07-13-06, 02:33 AM
#1 You can not enter anything other than an image path in "Upload" text boxes. Usually, Rollovers are created by building your own navigation bar (using the Advance Mode link) and manually uploading the images.

#2 You can't really do what you are looking to do (if I understand what you are looking to do) without a custom login module. Just adding, changing form boxes does't do it....sorry.

max
07-13-06, 05:57 PM
In Miva 5 you can upload the image and then there is a link that says show code. I have gone into the code my add to basket button image was in and put the rollover function in there. It works, except it keeps showing a broken image. You can only make the button do the rollover if the mouse goes over the broken image and not the image I have for Add to Cart.

http://66.36.184.183/mm5/merchant.mvc?Screen=PROD&Store_Code=M&Product_Code=20010&Category_Code=HA

As for the login, where would I find a custom login module? Would that enable me to allow people to have two options to put in login names? What I am looking for with this is that we are going to be making it so that when people sign up, their email address will be their login name. Right now, we have over 2000 customers who have login names separate from email addresses. The new customers signign up, don't get the option for a login name since I changed the word login to email as login. So now emails are the login name. With two different types of login forms, I don't want to confuse people with login if they are using email address. And I don't want email address for the people who still have a login name. Wow this is sounding so confusing. let me know if this doesn't make any sense. My goal is to have two login spaces. One that says login and one that says email. That way the people who have login names can login one way and people whos login names are their email address can login that way.

You can see it here:
http://66.36.184.183/mm5/merchant.mvc?Screen=LOGN&Order=0&Store_Code=M

Can this work with a module?

Thank you for your awesome help!!

Bruce - PhosphorMedia
07-13-06, 07:34 PM
Ah, yea, sorry bout that...forgot.

#1 You have '<img src' when using an image input for submit, you drop the '<img' as in:

<input type="image" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','graphics/00000001/addToCartButtonb.jpg',1)" src="graphics/00000001/addToCartButtona.jpg" width="120" height="25" border="0" id="Image1" />

#2 You would have to find a developer with time on their hands (or some money to magically "open up" their schedule). It wouldn't be too difficult, but its not a "first time" module.

max
07-13-06, 07:44 PM
OH PERFECT!!
Thank you so much for helping me with that rollover button. It works wonderfully now. So cool are you!!! :cool:

And for the Login issue....giving me a headache. Gonna tell my boss I cannot figure that one out and we should just stick to Login. No option for email address to be used as a login. Thank you for your help on that topic anyway.