Feedspot is modern RSS reader built especially for power users who want to save time
and they have a listed Top 60 Oracle Blogs on Planet based on following critera
Blog about Oracle ADF, JDeveloper, PL/SQL, Java, JavaScript, jQuery and Other Web Technologies
<af:resource source="https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js" type="javascript"/> <af:resource source="js/jquery.growl.js" type="javascript"/> <af:resource source="style/jquery.growl.css" type="css"/>
import javax.faces.context.FacesContext; import javax.faces.event.ActionEvent; import org.apache.myfaces.trinidad.render.ExtendedRenderKitService; import org.apache.myfaces.trinidad.util.Service; public class ShowJqNotification { public ShowJqNotification() { } /**Helper method to execute javascript * @param script */ public void calljqHelper(String script) { FacesContext context = FacesContext.getCurrentInstance(); ExtendedRenderKitService erks = Service.getService(context.getRenderKit(), ExtendedRenderKitService.class); erks.addScript(context, script); } //Change your message as per requirement /**Method to invoke Error Message * @param actionEvent */ public void showErrMessageAction(ActionEvent actionEvent) { calljqHelper("$.growl.error({ message: \"Hi this is error message!\" });"); } /**Method to invoke Warnign Message * @param actionEvent */ public void showWarningMessageAction(ActionEvent actionEvent) { calljqHelper("$.growl.warning({ message: \"Hi this is Warning!\" });"); } /**Method to invoke Info Message * @param actionEvent */ public void showNoticeMessageAction(ActionEvent actionEvent) { calljqHelper("$.growl.notice({ message: \"Hi this is Notice!\" });"); } }
<af:image shortDesc="Black Horse running or flying" id="FirstImage" inlineStyle="height:300px;width:500px;" source="#{resource['images:Best-Wild-Animal-Photos-of-2012-307-black-horse-running.jpg']}"/>
//jQuery library reference <af:resource type="javascript" source="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></af:resource> //jQuery file reference that will be used to show caption <af:resource type="javascript" source="js/jquery.capty.js"/> <af:resource type="javascript" source="js/jquery.capty.min.js"/> //CSS file to style Caption <af:resource type="css" source="css/jquery.capty.css"/>
//Function to show default sliding caption $('#ImageId').capty(); //Change default fucntion to change animation type , speed and height of caption $('#ImageId').capty({ animation: 'fade', speed: 1000 })
<af:clientListener method="jQuery(document).ready(function($){ $('#FirstImage').capty(); $('#SecondImage').capty({animation: 'fade', speed: 1000}) })" type="load"/>
@CHARSET "UTF-8"; div.capty-caption { background-color: red; color: #FFF; font: bold 11px cursive; padding-left: 10px; padding-top: 7px; text-shadow: 1px 1px 0 #222; } div.capty-caption a { color: #318DAD; font: bold 11px verdana; text-decoration: none; text-shadow: none; }
jQuery(document).ready(function($){ $('#FirstImage').capty(); $('#SecondImage').capty({animation: 'fade', speed:1000,height:50}) })
<af:resource type="javascript" source="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></af:resource> <af:resource type="javascript" source="js/ddpowerzoomer.js"/>
jQuery(document).ready(function($){ $('#i1').addpowerzoom({ defaultpower: 2, powerrange: [2,5], largeimage: null, magnifiersize: [75,75] }) })
<af:clientListener type="load" method="jQuery(document).ready(function($){ $('#i1').addpowerzoom({ defaultpower: 2, powerrange: [2,5], largeimage: null, magnifiersize: [75,75] }) })"/>
function changeColor() { if ($("input[name=it1]").val() != null) { if (($("input[name=it1]").val().length > 0) && ($("input[name=it1]").val().length < 3)) { $("input[name=it1]").css("color", "magenta"); } else if (($("input[name=it1]").val().length > 3) && ($("input[name=it1]").val().length < 6)) { $("input[name=it1]").css("color", "red"); } else if (($("input[name=it1]").val().length >= 6) && ($("input[name=it1]").val().length < 9)) { $("input[name=it1]").css("color", "yellow"); } else if (($("input[name=it1]").val().length >= 9) && ($("input[name=it1]").val().length < 12)) { $("input[name=it1]").css("color", "maroon"); } else if (($("input[name=it1]").val().length >= 12) && ($("input[name=it1]").val().length < 15)) { $("input[name=it1]").css("color", "teal"); } else if (($("input[name=it1]").val().length >= 15) && ($("input[name=it1]").val().length < 18)) { $("input[name=it1]").css("color", "blue"); } else { $("input[name=it1]").css("color", "green"); } } }
<?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"> <jsp:directive.page contentType="text/html;charset=UTF-8"/> <f:view> <af:document title="JqueryADF.jspx" id="d1"> <af:resource type="javascript" source="/javascript/libs/jquery-1.4.4.js"/> <af:resource type="javascript" source="/resources/js/inputText.js"/> <af:form id="f1"> <af:inputText label="Chck JQ" id="it1" contentStyle="font-weight:bold;"> <af:clientListener type="keyDown" method="changeColor"/> </af:inputText> </af:form> </af:document> </f:view> </jsp:root>