Developer forum

Forum » Development » gui.ColorSelect

gui.ColorSelect


Reply
If i place one gui.ColorSelect i works, but if i place two of them, i does'nt work
it gives me a fail, when i click the select button (to show colors)

Microsoft JScript runtime error: Object doesn't support this property or method

in line 18 in admin/color.js
var sColor = document.all.dlgHelper.ChooseColorDlg(sInitColor);

Replies

 
Reply
I would assume, that you would get this error if you place two color selectors with same names. Is that the case?

When altering Navigation links in Stylesheet there are three color selectors inserted like this:

<% Response.Write(Gui.ColorSelect(objProp.getValue("LinkColor"), "LinkColor"))%>

<% Response.Write(Gui.ColorSelect(objProp.getValue("LinkMouseoverColor"), "LinkMouseoverColor", true))%>

<% Response.Write(Gui.ColorSelect(objProp.getValue("LinkActiveColor"), "LinkActiveColor", true))%>

If this doesn't get you clooser to solving the problem, feel free to post a snippet of your code here, and let's have a look at it.
 
Reply

Hi,


 


Can somebody help, Im trying to get the linkmanager to work.


 


Think im getting it wrong about the ref part...simply cant figure out what the IDs reffered to are, and how to retrieve them.


 


Thanks in advance


 


best regards


Regin Madsen

 
Reply
rjm wrote:


Hi,




 




Can somebody help, Im trying to get the linkmanager to work.




 




Think im getting it wrong about the ref part...simply cant figure out what the IDs reffered to are, and how to retrieve them.




 




Thanks in advance




 




best regards




Regin Madsen





Doh this shouldnt have been a reply but a new post...sorry


 


/Regin

 

You must be logged in to post in the forum