Trying to insert this color picker. Javascript Question.

This is what I would like to do:
jQuery Color Picker, Selector, Chooser Plugin - colpick.com
This is the code:
<div class="color-box"></div> <div class="color-box"></div> <div class="color-box"></div>
$('.color-box').colpick({ colorScheme:'dark', layout:'rgbhex', color:'ff8800', onSubmit:function(hsb,hex,rgb,el) { $(el).css('background-color', '#'+hex); $(el).colpickHide(); } }) .css('background-color', '#ff8800');
.color-box { float:left; width:30px; height:30px; margin:5px; border: 1px solid white; }
I am confused about what goes where. From what I have read thus far, the JS should go into the Page Properties > Metadata > HTML.
The HTML should be inserted via Object > Insert HTML? No idea about the CSS.
Ignorance is frustrating.

Hi
To answer your query.
A. JS and CSS goes to head section of the page. Therefore, you need to add the same using :
1. Right click on your page
2. Choose "page properties"
3. Choose metadata
4. Add javascript/CSS in head section as defined below :
For JS:
<script type="text/javascript">
your code goes here...
</script>
For CSS :
<style>your css code goes here</style>
Take a look :
B. To define HTML on a page, you just use " insert as HTML" option and place your HTML code there. Take a look :
I hope this helps
Let me know if you have any further query.
Regads

Similar Messages

  • How do I create this color-picker-HSB gradient?

    What seemed trivial at first glance has turned out as quite a challange!
    I would like to create a special kind of black/white/alpha gradient to mimic the HSB color picker in Photoshop:
    Saturation
    0 100
    +--------------+ 100
    |white.....pure hue|
    |.....................| B
    |.....................| r
    |.....................| i
    |.....................| g
    |.....................| h
    |.....................| t
    |.....................| n
    |.....................| e
    |.....................| s
    |.....................| s
    |.....................|
    |.....black......| 0
    +--------------+
    I've tried numerous ways of blending screen/multiply, setting gradient smoothing to 0-100%, using layer masks, etc, etc - but when I compare my composite with a screenshot of the Photoshop color picker - I'm still not even close! :-(
    Is the gradients non-linear? Is gamma involved?
    I downloaded a low-res png-24 of this unique gradient from the internet, but would like to make a hi-res version (and understand how it works!).
    Additionally, my layer mask isn't black white but black and pink! I can't wrap my head around that color management thing...
    Best,
    Robert

    Photoshop has not given us a tool to produce gradients in HSB (only RGB). In order to get the color picker slices it does produce, Photoshop itself is obviously able to create HSB gradients.

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • Who's Up for a Challenge? (or who needs a good Color Picker?)

    Greetings,
    I got lost in the muck trying to figure out how to make this color-picker code initialize with the last chosen color.... This is an open source project, and I posted my predicament on the blog for it, but it's been a few weeks and no one has responded. I've been able to integrate the code with my project no problem, it's just figuring out how to change this one behavior... the startup color seems to be hardcoded in several different places...
    Seems like there's some folks here who enjoy a good challenge, so I thought I'd see if anyone might want to give it a shot.... I'm probably making it much more complicated than it is by starting from the wrong vantage point....
    The Blog: http://www.v-vent.com/blog/?p=27
    The Code: http://www.v-vent.com/source/hue/veventhuesource.zip
    Any clues you have to offer would be greatly appreciated.... the idea seems simple enough....currently starts on yellow every time you load the view... would like it to start on the last color chosen, which is getting stored in user defaults....

    Ok John, here are each of the three files I touched:
    // ColorPickerViewController.m
    #import "ColorPickerViewController.h"
    #import "ColorPickerView.h"
    #import "AboutScreenViewController.h"
    @implementation ColorPickerViewController
    @synthesize aboutScreenViewController;
    // --> added const decl
    NSString *const keyForHue = @"hue";
    NSString *const keyForSat = @"sat";
    NSString *const keyForBright = @"bright";
    // --> register default settings
    - (void)registerDefaults {
    NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];
    [defaultValues setObject:[NSNumber numberWithFloat:0.5] forKey:keyForHue];
    [defaultValues setObject:[NSNumber numberWithFloat:0.5] forKey:keyForSat];
    [defaultValues setObject:[NSNumber numberWithFloat:0.5] forKey:keyForBright];
    [[NSUserDefaults standardUserDefaults] registerDefaults:defaultValues];
    - (void)viewDidLoad {
    [super viewDidLoad];
    NSLog(@"CALL ME ! " );
    [self registerDefaults]; // <-- register default settings
    NSUserDefaults *saveColors = [NSUserDefaults standardUserDefaults];
    ColorPickerView *theView = (ColorPickerView*) [self view];
    // --> removed key existance test and explicit defaults from this block
    // since defaults are now registered
    [theView setCurrentHue:[saveColors floatForKey:keyForHue]];
    [theView setCurrentSaturation:[saveColors floatForKey:keyForSat]];
    [theView setCurrentBrightness:[saveColors floatForKey:keyForBright]];
    AboutScreenViewController *abouter = [[AboutScreenViewController alloc]
    initWithNibName:@"AboutScreenView" bundle:nil];
    self.aboutScreenViewController = abouter;
    [abouter release];
    [theView onViewDidLoad]; // <-- added
    - (void) viewWillDisappear :(BOOL)animated {
    NSUserDefaults *saveColors = [NSUserDefaults standardUserDefaults];
    ColorPickerView *theView = (ColorPickerView*) [self view];
    [saveColors setFloat:[theView currentHue] forKey:keyForHue];
    [saveColors setFloat:[theView currentSaturation] forKey:keyForSat];
    [saveColors setFloat:[theView currentBrightness] forKey:keyForBright];
    - (UIColor *) getSelectedColor {
    return [(ColorPickerView *) [self view] getColorShown];
    - (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
    - (IBAction) pressedAboutButton {
    [self.view addSubview:self.aboutScreenViewController.view];
    [self.view bringSubviewToFront:self.aboutScreenViewController.view];
    - (void)dealloc {
    [super dealloc];
    [aboutScreenViewController release];
    @end
    // ColorPickerView.h
    #import <UIKit/UIKit.h>
    @class GradientView;
    @interface ColorPickerView : UIView {
    GradientView *gradientView;
    UIImageView *matrixView; // <-- added
    // --> unused ivars
    // UIImage *backgroundImage; //Image that will sit in back on the view
    // UIImage *closeButtonImage; //Image for close button
    // UIImage *nextButtonImage; //Image for next button
    IBOutlet UIImageView *backgroundImageView;
    IBOutlet UIView *showColor;
    IBOutlet UIImageView *crossHairs;
    IBOutlet UIImageView *brightnessBar;
    IBOutlet UILabel *colorInHex;
    IBOutlet UILabel *Hcoords;
    IBOutlet UILabel *Scoords;
    IBOutlet UILabel *Lcoords;
    IBOutlet UILabel *Rcoords;
    IBOutlet UILabel *Gcoords;
    IBOutlet UILabel *Bcoords;
    //Private vars
    // --> ok, private.. but atm, the controller still needs to call getters
    // and setters for currentBrightness, currentHue, and currentSaturation
    @private
    // CGRect colorMatrixFrame; // <-- removed - using matrixView ivar instead
    CGFloat currentBrightness;
    CGFloat currentHue;
    CGFloat currentSaturation;
    UIColor *currentColor;
    // unused properties
    // @property (nonatomic,retain) UIImage *backgroundImage;
    // @property (nonatomic,retain) UIImage *closeButtonImage;
    // @property (nonatomic,retain) UIImage *nextButtonImage;
    @property (nonatomic,retain) GradientView *gradientView;// <-- added
    @property (nonatomic,retain) UIImageView *matrixView; // <-- added
    @property (readwrite) CGFloat currentBrightness;
    @property (readwrite) CGFloat currentHue;
    @property (readwrite) CGFloat currentSaturation;
    - (UIColor *) getColorShown;
    - (void) onViewDidLoad; // <-- added
    @end
    // ColorPickerView.m
    #import "ColorPickerView.h"
    #import "GradientView.h"
    #import "Constants.h"
    // --> declare private properties, methods and functions
    @interface ColorPickerView ()
    @property (nonatomic,retain) UIColor *currentColor;
    - (void) getStringForHSL : (CGFloat) hue : (CGFloat) sat : (CGFloat) bright;
    - (void) getStringForRGB :(CGColorRef) theColor;
    - (NSString *) hexStringFromColor : (CGColorRef) theColor;
    static int myRoundOff(CGFloat value);
    @end
    @implementation ColorPickerView
    // --> unused properties
    // @synthesize backgroundImage;
    // @synthesize closeButtonImage;
    // @synthesize nextButtonImage;
    @synthesize gradientView; // <-- added
    @synthesize matrixView; // <-- added
    @synthesize currentHue;
    @synthesize currentSaturation;
    @synthesize currentBrightness;
    @synthesize currentColor; // <-- added
    - (id)initWithCoder:(NSCoder*)coder {
    if (self = [super initWithCoder:coder]) {
    // --> changes to support gradientView, which is now a retaining property
    GradientView *gradView = [[GradientView alloc] initWithFrame:kBrightnessGradientPlacent];
    self.gradientView = gradView;
    [gradView release];
    // [gradientView setTheColor:
    // [UIColor yellowColor].CGColor]; // <-- fixed and moved to onViewDidLoad
    [self addSubview:gradientView];
    [self sendSubviewToBack:gradientView];
    // --> changes to support retaining property 'matrixView'
    // colorMatrixFrame = kHueSatFrame; // <-- removed colorMatrixFrame ivar
    UIImageView *hueSatImageView = [[UIImageView alloc] initWithFrame:kHueSatFrame];
    [hueSatImageView setImage:[UIImage imageNamed:kHueSatImage]];
    self.matrixView = hueSatImageView;
    [hueSatImageView release];
    [self addSubview:matrixView];
    [self sendSubviewToBack:matrixView];
    [self setMultipleTouchEnabled:YES]; // <-- moved to keep similar blocks together
    // currentBrightness = kInitialBrightness; // <-- removed
    // currentColor = [[UIColor alloc]init]; // <-- fixed and moved to onViewDidLoad
    return self;
    // --> several of the ivars in this class should be moved to the controller -
    // for now this method should be called at the end of the controller's viewDidLoad method
    - (void)onViewDidLoad {
    self.currentColor = [UIColor colorWithHue:currentHue
    saturation:currentSaturation
    brightness:currentBrightness
    alpha:1.0];
    [showColor setBackgroundColor:currentColor];
    [self getStringForRGB:currentColor.CGColor];
    [self getStringForHSL:currentHue :currentSaturation :currentBrightness];
    [colorInHex setText:[self hexStringFromColor:currentColor.CGColor]];
    NSLog(@"%s: hue=%1.2f sat=%1.2f bright=%1.2f",
    _func_, currentHue, currentSaturation, currentBrightness);
    - (NSString *) hexStringFromColor : (CGColorRef) theColor {
    const CGFloat *c = CGColorGetComponents(theColor);
    CGFloat r, g, b;
    r = c[0];
    g = c[1];
    b = c[2];
    // Fix range if needed
    if (r < 0.0f) r = 0.0f;
    if (g < 0.0f) g = 0.0f;
    if (b < 0.0f) b = 0.0f;
    if (r > 1.0f) r = 1.0f;
    if (g > 1.0f) g = 1.0f;
    if (b > 1.0f) b = 1.0f;
    // Convert to hex string between 0x00 and 0xFF
    return [NSString stringWithFormat:@"#%02X%02X%02X",
    // --> using myRoundOff instead of int typecast
    myRoundOff(r * 255), myRoundOff(g * 255), myRoundOff(b * 255)];
    // --> use this if needed to fudge extrema
    static int myRoundOff(CGFloat value) {
    return lround(value);
    - (void) getStringForHSL : (CGFloat) hue : (CGFloat) sat : (CGFloat) bright { // <-- CGFloat params
    // NSLog(@"%s: hue=%1.4lf sat=%1.4lf bright=%1.4lf", _func_, hue, sat, bright);
    // --> using myRoundOff instead of int typecast
    [Hcoords setText:[NSString stringWithFormat:@"%d",myRoundOff(hue*255)]];
    [Scoords setText:[NSString stringWithFormat:@"%d",myRoundOff(sat*255)]];
    [Lcoords setText:[NSString stringWithFormat:@"%d",myRoundOff(bright*255)]];
    - (void) getStringForRGB :(CGColorRef) theColor {
    const CGFloat *c = CGColorGetComponents(theColor);
    CGFloat r, g, b;
    r = c[0];
    g = c[1];
    b = c[2];
    // --> using myRoundOff instead of int typecast
    [Rcoords setText:[NSString stringWithFormat:@"%d",myRoundOff(r*255)]];
    [Gcoords setText:[NSString stringWithFormat:@"%d",myRoundOff(g*255)]];
    [Bcoords setText:[NSString stringWithFormat:@"%d",myRoundOff(b*255)]];
    - (void) updateHueSatWithMovement : (CGPoint) position {
    // --> correcting currentHue and currentSaturation calculations
    // currentHue = (position.x-kXAxisOffset)/kMatrixWidth;
    // currentSaturation = 1.0 - (position.y-kYAxisOffset)/kMatrixHeight;
    CGPoint ptInMatrix = [self convertPoint:position toView:matrixView];
    currentHue = ptInMatrix.x/(matrixView.frame.size.width-1);
    currentSaturation = 1.0 - ptInMatrix.y/(matrixView.frame.size.height-1);
    // printf("hue Of the touch is : %f
    ",currentHue);
    // printf("sat Of the touch is : %f
    ",currentSaturation);
    UIColor *forGradient = [UIColor colorWithHue:currentHue
    saturation:currentSaturation
    brightness: kInitialBrightness
    alpha:1.0];
    [gradientView setTheColor:forGradient.CGColor];
    [gradientView setupGradient];
    [gradientView setNeedsDisplay];
    self.currentColor = [UIColor colorWithHue:currentHue // --> using setter to retain color
    saturation:currentSaturation
    brightness:currentBrightness
    alpha:1.0];
    [showColor setBackgroundColor:currentColor];
    [colorInHex setText:[self hexStringFromColor:currentColor.CGColor]];
    [self getStringForRGB:currentColor.CGColor];
    [self getStringForHSL:currentHue :currentSaturation :currentBrightness];
    - (void) updateBrightnessWithMovement : (CGPoint) position {
    // --> correcting currentBrightness calculation
    // currentBrightness = 1.0-(position.x/gradientView.frame.size.width) + kBrightnessEpsilon;
    CGPoint ptInGradient = [self convertPoint:position toView:gradientView];
    currentBrightness = 1.0 - ptInGradient.x/(gradientView.frame.size.width-1);
    // printf("Brightness Of the touch is : %f
    ",currentBrightness);
    // --> setting and using currentColor ivar instead of local var
    self.currentColor = [UIColor colorWithHue:currentHue
    saturation:currentSaturation
    brightness:currentBrightness
    alpha:1.0];
    [showColor setBackgroundColor:currentColor];
    [colorInHex setText:[self hexStringFromColor:currentColor.CGColor]];
    [self getStringForRGB:currentColor.CGColor];
    [self getStringForHSL:currentHue :currentSaturation :currentBrightness];
    //Touch parts :
    // Scales down the view and moves it to the new position.
    - (void)animateView:(UIImageView *)theView toPosition:(CGPoint) thePosition
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:kAnimationDuration];
    // Set the center to the final postion
    theView.center = thePosition;
    // Set the transform back to the identity, thus undoing the previous scaling effect.
    theView.transform = CGAffineTransformIdentity;
    [UIView commitAnimations];
    -(void) dispatchTouchEvent:(CGPoint)position
    if (CGRectContainsPoint(matrixView.frame,position)) // <-- colorMatrixFrame ivar was removed
    // NSLog(@"Color!");
    // printf("X Of the touch in grad view is : %f
    ",position.x);
    // printf("Y Of the touch in grad view is : %f
    ",position.y);
    [self animateView:crossHairs toPosition: position];
    [self updateHueSatWithMovement:position];
    else if (CGRectContainsPoint(gradientView.frame, position))
    // NSLog(@"Bright!");
    CGPoint newPos = CGPointMake(position.x,kBrightBarYCenter);
    [self animateView:brightnessBar toPosition: newPos];
    [self updateBrightnessWithMovement:position];
    else
    // printf("X Of the touch in grad view is : %f
    ",position.x);
    // printf("Y Of the touch in grad view is : %f
    ",position.y);
    // Handles the start of a touch
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    for (UITouch *touch in touches) {
    [self dispatchTouchEvent:[touch locationInView:self]];
    // printf("X IS %f
    ",[touch locationInView:self].x);
    // printf("Y IS %f
    ",[touch locationInView:self].y);
    // Handles the continuation of a touch.
    - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
    for (UITouch *touch in touches){
    [self dispatchTouchEvent:[touch locationInView:self]];
    - (void)drawRect:(CGRect)rect {
    // --> corrected calculation of crosshairs.center
    CGFloat x = currentHue * matrixView.frame.size.width;
    CGFloat y = (1 - currentSaturation) * matrixView.frame.size.height;
    CGPoint ptInMatrix = CGPointMake(x, y);
    crossHairs.center = [matrixView convertPoint:ptInMatrix toView:self];
    // --> corrected calculation of brightnessBar.center
    x = (1 - currentBrightness) * gradientView.frame.size.width;
    y = gradientView.frame.size.height/2 - 3;
    CGPoint ptInGradient = CGPointMake(x, y);
    brightnessBar.center = [gradientView convertPoint:ptInGradient toView:self];
    // NSLog(@"%s: gradientView.frame=%@", _func_, NSStringFromCGRect(gradientView.frame));
    // NSLog(@" brightnessBar.center=%@", NSStringFromCGPoint(brightnessBar.center));
    UIColor *forGradient = [UIColor colorWithHue:currentHue // added
    saturation:currentSaturation
    brightness: kInitialBrightness
    alpha:1.0];
    [gradientView setTheColor:forGradient.CGColor]; // added
    [gradientView setupGradient];
    [gradientView setNeedsDisplay];
    [colorInHex setFont:[UIFont fontWithName:@"helvetica" size:16]];
    [self sendSubviewToBack:showColor];
    - (UIColor *) getColorShown {
    // NSLog(@"Are we here ? ");
    return [UIColor colorWithHue:currentHue saturation:currentSaturation
    brightness:currentBrightness alpha:1.0];
    - (void)dealloc {
    [currentColor release]; // <-- added
    [gradientView release]; // <-- added
    [matrixView release]; // <-- added
    [super dealloc];
    @end
    Disclaimer: While the above is working, tested code, the files are not meant to be examples of good practice. The objective was to hose out most of the functional bugs while changing the old files as little as possible. This is usually the best first step in cleaning up a project, since it allows the original programmers to see the changes in the context of the existing structure. Those changes can be much more difficult to see after a complete overhaul. Improving the structure will also change the nib files, and describing those changes in the forum can be tedious.
    Thus I perpetuated the structural weaknesses instead of moving most of the ivars, along with the code that administers them, into the ColorPickerViewController class. A number of useless but harmless artifacts were also left in the files.
    Most of my tests were only for functionality on the simulator. Though I tried to take care of memory management in the code I added or changed, there's lots of memory management clean up to do. I did some brief tests on a first gen iPod Touch with iOS 3.12, and at first glance I was surprised how well things seemed to be working. I was even able to position the crosshairs in a couple corners after a few tries (e.g. at full brightness, the upper-right corner should be HSL: 255, 255, 255; RGB: 255, 0, 0). All four of these extrema are reachable on the simulator, and if you have steady hands and/or small fingers, they're probably all reachable on an iPhone as well.
    Enjoy!
    - Ray

  • CS4 Color Picker?

    I am having a problem getting Adobe color picker to produce accurate colors. For example, if I dial in RBG value 49, 49, 49 ( HEX: 31 31 31), I get a dark color swatch that is RBG value 37, 37, 37 (Hex: 25 25 25) according to my MAC Digital Color Meter.  I tried the CS4 Apple Color picker and it seems to produce accurate colors.  Is this a bug in CS4 or is it an issue with my settings in CS4?

    The "digital color meter" reads values directly from the display -- it gets values after display correction has been applied.
    Chris

  • Has anyone else had Color Picker defaulting to black with Cp 5.0.2.630 on OSX 10.7.1 (Lion)

    Both of my Macs running  OSX 10.7.1 are now exhibiting this behavior. The color picker defaults to black regardless of which color I chose.
    I have deleted preferences, reinstalled the program, tried to use the color picker on images as well as Captivate shapes (squares, ellipses), but it still defaults to black. I have also tried new projects and pre-existing projects. Defaults to black.
    No similar problems with Cp 5.5, which I have installed on only one of my computers (so can't attribute this to a Cp version conflict)
    Has anyone else has this behavior?  Any known fixes?
    I have also reported it to Bangalore and as a bug.
    Thanks

    Both of my Macs running  OSX 10.7.1 are now exhibiting this behavior. The color picker defaults to black regardless of which color I chose.
    I have deleted preferences, reinstalled the program, tried to use the color picker on images as well as Captivate shapes (squares, ellipses), but it still defaults to black. I have also tried new projects and pre-existing projects. Defaults to black.
    No similar problems with Cp 5.5, which I have installed on only one of my computers (so can't attribute this to a Cp version conflict)
    Has anyone else has this behavior?  Any known fixes?
    I have also reported it to Bangalore and as a bug.
    Thanks

  • Problem with the adobe color picker

    Hi, recently I've noticed that my color picker has changed from this
    http://img78.imageshack.us/my.php?image=picture9iu7.png
    to this
    http://img368.imageshack.us/my.php?image=picture7en3.png
    I have been trying to reset the swatches and use other color libraries, from the button. But it wont change. Can somebody please help me? I don't know what to do, and I have not found any documentation on this color picker from adobe.

    Hahaha I feel so stupid, I can't believe how easy it was, and how much time I wasted researching. Thank you very very much

  • IWeb 09 - Color picker not selecting matching color

    I have tried to use the color picker to match colors in iWeb 09 and it seems impossible to match the colors. I go to the color picker and use the magnifying glass to try to match an existing color and the selected color is not exactly the same as the color I am trying to match. Very frustrating. I have searched and other folks have been reporting similar problems.

    When are you seeing the mismatch? In iWeb after applying the magnifying glass or after publishing? What are you trying to match? Backgounds? Objects? Text?
    It's been noted that after publication some colors have been changed in the css file from the rgb alpha code it was originally set to to the # number code (or vise versa - I don't remember which) which changes the published color slightly. Tried to find the topic just now but couldn't.
    Definitely a bug to be reported to http://www.apple.com/feedback/iweb.html.
    If you're trying to match a page background to a browser background and you're not using a theme that uses images for it's background you can set the page background to none and let the browser background color work for both areas.
    OT

  • Is there a way to get a PS CS4 Color Picker in AI CS 4?

    Here's the color picker we love to use in PS and AE CS 4.
    We can't find the option in Pref's. or anywhere else that allows us to have this color picker in AI CS 4.
    Here's what we have now.

    Exactly what Mylenium wrote.

  • Is there any color picker component , i tried java script ones with no luck

    Hi
    Thank you for reading my post.
    I tried to use a java script color picker inside my JSC portlet , but it does not works.
    i tried many things , but at least i did not find any solution for it.
    here is color picker that i tried to use :
    http://www.flooble.com/scripts/colorpicker.php?op=get
    http://www.flooble.com/scripts/colorpicker.php
    and also i tried to use this one with no luck . i tried both of them in html files and they works
    http://www.mattkruse.com/javascript/colorpicker/
    can some one with more knowledge about javascript and JSC help me ?

    any comment or advice on this problem ?

  • The website Kotaku brings me to a blank white page when i try do a search or click a link to an older post, it says done in the loading bar. Also had an error where I couldn't log in properly while trying to post this question on these forums.

    Yesterday I clicked the "link Facebook account" on the website www.kotaku.com.au. Prior to that I can't remember having this issue. Not sure if its related.
    My first idea was to use safe mode, which worked. so i disabled my addons in non-safe mode but it still didn't work.
    The only thing that solved the problem was clearing my cookies, so for now I have the cookies of kotaku blocked. Obviously not an ideal situation.
    I found these error message in console:
    Error: Permission denied for <http://network.alluremedia.com.au> to call method Location.toString on <http://www.kotaku.com.au>.
    Error: pageTracker is not defined
    Source File: javascript:pageTracker._trackPageview('/interaction/rollover');
    Line: 1
    I was originally going to post this as a website error, however when trying to ask this question using Firefox I was presented with my log in name and a log out button, rather than the Ask a New Question page. Once again, it worked fine when I disabled cookies.
    So now I'm thinking it may not be a single site problem.
    Can't find many useful topics on the internet, needing some help.

    Thanks for the flag J.K. - they contaced me and solved my problem.  On this account (which I created just to ask this question), I log in with my email rather than my user name (mtalldud). On the account that I was having trouble with, they told me to use my user ID instead of my email to log in and it worked. This is a bit confusing and seems a bit inconsistent but at least I don't need this temporary account any more to get into this community and find answers!

  • CF application want to insert color picker

    I have a CF spplication with Javascript. In this application
    I have a form that allows users to edit their "banner", text, and
    background colors. They are now requesting a color picker so they
    can find the hexidecimal color on their banner easily from the edit
    page. I have an .exe color picker that uses an xml page. Any
    suggestions on how to add the "button" to launch this application
    from my CFpage? Can a use a javascript to run an application?
    I appreciate any suggestions.

    Try looking at one of these:
    http://www.mattkruse.com/javascript/colorpicker/
    http://www.softcomplex.com/products/tigra_color_picker/demo1.html
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    =============================
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "zorn01" <[email protected]> wrote in
    message
    news:e4ffb4$cr6$[email protected]..
    >I have a CF spplication with Javascript. In this
    application I have a form
    > that allows users to edit their "banner", text, and
    background colors.
    > They
    > are now requesting a color picker so they can find the
    hexidecimal color
    > on
    > their banner easily from the edit page. I have an .exe
    color picker that
    > uses
    > an xml page. Any suggestions on how to add the "button"
    to launch this
    > application from my CFpage? Can a use a javascript to
    run an application?
    >
    > I appreciate any suggestions.
    >

  • Trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error o

    trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error occurred." message appears.  how do I fix this?

    Try this Technote
    http://kb2.adobe.com/cps/405/kb405604.html
    Try step 4 here
    http://kb2.adobe.com/cps/405/kb405604.html#main_dat

  • Trying to access Netflixs and pick movie but I get "Unable to load this content at this time"

    trying to access Netflixs and pick movie but I get "Unable to load this content at this time"

    This earlier posting worked for me:
    "This worked for me without having to reset my Apple TV universe: Press Menu and Down Arrow keys simultaneously for 6 seconds until the light flashes rapidly."
    Thank you!

  • Color Picker/ Color Chooser Questions

    Sometimes when a pick a color from the screen using the Color Picker panel, it shows a grey triangle in the top right hand corner. What does this mean?
    Also, if I have an InDesign document open, create a box and fill it using the Adobe Color Picker make a note of the CMYK and RGB values, then switch to mail, and use the Color Picker panel in Mail to pick the color from my InDesign document, the values are different. Why?

    MP,
    It seems that  the issue is caused by a corrupt folder called en_US or similar (depending on language) within the Adobe Illustrator 18 Settings folder, see post #7 by Jules in this thread,
    https://forums.adobe.com/thread/1595766
    so the solution should be to move or rename that folder (or the whole Adobe Illustrator 18 Settings folder).
    You can find the folder in Move the folder (follow the link with that name) with Illy closed.
    The folder can also be found through this:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    As a temporary roundabout way, you can select the lower rectangle to the right of the rainbow and DoubleClick to apply that to change the top rectangle and the values: the lower colour is the right one.

Maybe you are looking for