Web Components

Web Components are a set of standards currently being produced by Google engineers as a W3C specification that allow for the creation of reusable widgets or components in web documents and web applications. The intention behind them is to bring component-based software engineering to the World Wide Web. The components model allows for encapsulation and interoperability of individual HTML elements. Support for Web Components is present in Chrome and Opera and is in Firefox (with a manual configuration change). Microsoft's Internet Explorer has not implemented any Web Components specifications yet. Web Components consist of 4 main elements: Custom Elements, Shadow DOM, HTML Imports and HTML Templates.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have tested ASP.NET controls from both Telerik and DevExpress, both seem to be very professional and adds a lot of features and functionality, however, I can't figure out which one I should ultimately end up using. Does anyone here have experience with the ASP.NET controls from Telerik and DevExpress, I would love to hear your 2 cents. I should add that I don't have any exotic requirements.
0
Hi

In my asp.net applications, I often use tools like Gembox or SpreadsheetGear to create, read, edit and save data into or out of Excel files. This does not require Office to be installed on the server since the 3rd party tools does the job of creating the Excel compatible file.

My question: Is there an equivalent for Word, i.e. creating, editing saving data into Word documents without requiring Office on the web server? Please note I am not talking about RTF files, but proper Word documents (.doc or .docx).

Typically, our application will accept some input from a user, do some processing, and then create a Word document as a result for the user to download. This ofen entails creating bitmap reports and then putting the bitmaps into a Word template at specific locations, then saving the file and allowing the user to download. Are there 3rd party tools that can do this?
0
Hey guys,

I have a client who has a Facebook Page for their Business.  And i've been given Admin access to make some updates.  One thing i am trying to do is to be able to make their page viewable from a Public view (ie so that no one is logged in) so that we can create 'LIKE' box links.

Can someone tell me where the magic switch is to make this work?

Thanks
0
Hello all,

I am writing a Firefox extension which creates a Java applet in the page.

function addApplet(aDocument,url,classfile,archive) {
if (navigator.javaEnabled()) {
var anApplet,body;
body = aDocument.getElementsByTagName('body')[0];
anApplet = aDocument.createElement('applet');
anApplet.setAttribute('CODEBASE',url);
anApplet.setAttribute('code',classfile);
anApplet.setAttribute('archive',archive);
anApplet.setAttribute('name',"Applet");
anApplet.setAttribute('width',"0");
anApplet.setAttribute('height',"0");
body.appendChild(anApplet);
}
}

The JAR file loaded from the applet is 500KB in size. I noticed that sometimes the extension causes Firefox's vertical scrollbar to freeze and the hot-keys to stop working. The scroll-bar and hot-keys work fine if I prevent the extension to append the applet to the page.

Another weird behavior is -- on the frozen page if I click inside any text/search box or even address bar the scroller and the hotkeys begin to work again. The same thing happens if I switch tabs or minimize the browser window.

I am using Firefox 3.6.12 on WindowsXP.

Please help me if you have an idea regarding this or if I should provide more information.

Thanks
0
I have 40 or so navigation links in my web site in simple code to allow spiders to crawl and see the content of the pages.  I am thinking of converting the navigation area to a library item in Dreamweaver for easier editing throughout the site.  With that in mind, will the spiders be able to crawl the library item on the page for indexing?
Thanks,
Phil
0
Hello,

Is is possible to deploy an msi or update to pre-install the ActiveX control for Remote Desktop Web Connection, used by Remtoe Desktop Web Access?

All my clients have Windows 7 RD Client 6.1 but are still prompted to install the ActiveX

Thank you
0
IS WPF(Windows Presentation Foundation) browser compatibility limited to IE or can be used with Firefox, Chrome, or mobile browsers?

Any feedback is highly appreciated.

Thanks.

0
I have been using ISAPI rewrite version 2 on one of my domain names.  Due to some hosting issues, I am moving to another provider and they have version 3 on the servers.

Below is a few lines that I have in the httpd.ini file.  Can someone perhaps help with updating this to version 3 (for Helicon ISAPI Rewrite)?
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]

#Please do not delete or modify this file as your subdomain might not working properly 
RewriteCond Host: (?!www\.)([^.]+)\..+\..+ 
RewriteRule (.*) /$1$2 [I,L] 

RewriteRule ^/blog/(.*) /permalink.asp?id=$1 [I,R]
RewriteRule /2011/02/address-verification-service-fee /permalink.asp?id=284
RewriteRule /sitemap/merchant-accounts /sitemap/merchant-accounts.asp
RewriteRule /sitemap/merchant-account-terminology /sitemap/merchant-account-terminology.asp

Open in new window

0
I have installed a second server (MS Server 2003) into the domain and activated AD. The system seam to work fine, it's replicating and all is fine until I turn off the first (original) server. After which none can log into the domain. If I turn it back on, all is back to normal.
What else should I do to make sure that this new server acts as a login server if the other is down.

Thank you...

nick
0
I would like a simple batch file that will place an internet shortcut (www.mysite.com) with the icon file for the site as the icon to the all users desktop.

Is there simple code I could use to accomplish this?

Thanks!
0
I have over 300+ training videos I need to post to our website for viewing. Formats vary (.swf, .mov, .mp4, etc). Videos are viewable now through a direct hyperlink via the browser but the powers-that-be-want each to have play, stop, pause functionality.

Is there a way I can set up one page with a player that all the video can be viewed with? Or will I need to convert each video file to use its own player? I was thinking about importing/publishing via Flash until I discovered just how many file there were.


The web host offers streaming if that helps.
0
I am using ASPUpload component to upload docs to a folder on my web server.
How can I modify this code to NOT require all docs to be uploaded?
For instance, the user may only want to upload the first and the third document at one time.

http://www.aspupload.com/

Thanks!

Set Upload = Server.CreateObject("Persits.Upload.1")
Count = Upload.Save

	If Count <> 0 Then	
		
		' Obtain File objects
		Set File1 = Upload.Files("FILE1")
		'Set File2 = Upload.Files("FILE2")
		'Set File3 = Upload.Files("FILE3")
		'Set File4 = Upload.Files("FILE4")
		'Set File5 = Upload.Files("FILE5")
		'Set File6 = Upload.Files("FILE6")
		
		' build filenames
		FileName1 = File1.FileName
		Session("FileName1") = FileName1
		
		'FileName2 = File2.FileName
		'Session("FileName2") = FileName2
		
		'FileName3 = File3.FileName
		'Session("FileName3") = FileName3
		
		'FileName4 = File4.FileName
		'Session("FileName4") = FileName4
		
		'FileName5 = File5.FileName
		'Session("FileName5") = FileName5
		
		'FileName6 = File6.FileName
		'Session("FileName6") = FileName6
		
		' generate path
		strPath1 = "\\web02\e$\inetpub\wwwroot\cassavatracker\upload\" & FileName1
		'strPath2 = "\\web02\E$\inetpub\wwwroot\the_center\FacultyApplicants\upload\" & strFullName & "\" & FileName2
		'strPath3 = "\\web02\E$\inetpub\wwwroot\the_center\FacultyApplicants\upload\" & strFullName & "\" & FileName3
		'strPath4 = "\\web02\E$\inetpub\wwwroot\the_center\FacultyApplicants\upload\" & strFullName & "\" & FileName4
		

Open in new window

0
I have the following code for an accordion menu, only problem is that it works fine the first time around, but then I have to double click the links before the open one closes and the clicked one opens.

All I want is :

When the anchor is clicked, check for open menus, if there are open ones, close them, then open the one thats clicked and add the class open.


$(function () {

	$('#pia-menu ul').hide();
	$('#pia-menu li a').click(function() 
		{
	    	if ($(this).hasClass("open")){
	    		
	    		$(this).next().slideUp('normal');	
                $(this).removeClass('open');	
	    	
	    	} else {
	    		
	    		$('.open').next().slideUp();
	    		$(this).next().slideDown('normal');	
                $(this).addClass('open');
	    	
	    	}
   
      	 });
});

Open in new window

0
i have this code based on a player:

$testFile = "test.txt";


if($_REQUEST['action']=="vote"){


&#9;function writeTextFile2($theFileName, $theContent, $openCondition='w+'){
&#9;&#9;if($theContent=="" || is_null($theContent)){
&#9;&#9;&#9;$enterContent = " ";
&#9;&#9;} else {
&#9;&#9;&#9;$enterContent = $theContent;
&#9;&#9;}
&#9;&#9;$retval = TRUE;
&#9;&#9;if (!$fp = fopen($theFileName, $openCondition)) {
&#9;&#9;&#9;$retval = FALSE;
&#9;&#9;}
&#9;&#9;if($retval){
&#9;&#9;&#9;if (!$filewrite = fwrite($fp, stripslashes($enterContent))) {
&#9;&#9;&#9;&#9;$retval = FALSE;
&#9;&#9;&#9;&#9;exit;
&#9;&#9;&#9;} else {
&#9;&#9;&#9;&#9;$retval = TRUE;
&#9;&#9;&#9;}
&#9;&#9;}
&#9;&#9;@fclose($fp);
&#9;&#9;return $retval;
&#9;&#9;@chmod ($theFileName, 0777);
&#9;}

&#9;

&#9;// NOTE: Some PHP installations may use a different nomenclature for the "$_REQUEST" such as "$_HTTP_SERVER"
&#9;$theContent = "";
&#9;
&#9;// Here we are extracting all of the info contained in the request.

&#9;foreach($_REQUEST as $key => $value){
&#9;&#9;$theContent .= $key." : \t".urldecode($value)."\r\n";
&#9;}

&#9;strstr( PHP_OS, "WIN") ? $slash = "\\" : $slash = "/";
&#9;
&#9;//print "$testFile";

&#9;if(writeTextFile2(getcwd ().$slash.$testFile, $theContent, 'w+')){
&#9;&#9;print "&retval=ok";
&#9;} else {
&#9;&#9;print "&retval=error";
&#9;}

&#9;$dbc=mysql_connect('173.201.136.40','jschin','Js2759067') or die(mysql_error());
0
Hi,
I have a Greasemonkey script which adds checkboxes to each line which starts with <TR><TD.

It works fine.

Now, I want to keep the state of every single checkbox when the page is refereshed.

Here is the part of my script:
NOTE: The replacement function is called at line 33 by the function call do_modify_html_it. And this function is defined at line 162. The rest is doing some other modification. I only put the rest to give you some idea.

As I said before, I want to keep the state of these checkboxes that I placed on the page.


// ==UserScript==
// @name            aaa1
// @namespace       xxx2
// @include         http://SOMESITE
// @require         http://PATHNAME/~NAME/jquery-1.4.2.js

/*global BatCave */
BatCave = {
    log: function (str) {
        GM_log(str);
    },

    // Figures out the NAME of the cluster
    clusterNAME: function () {
        // Ignore the .dead
        var matches = window.location.search.match(/queue=([\w|\d]+)/);
        return matches ? matches[1] : null;
    },

    reloadUpperFrame: function () {
        BatCave.findFrame('top_right_frame').document.location.reload();
    },

    reloadLowerFrames: function () {
        BatCave.findFrame('middle_frame').document.location.reload();
    }
};


/*** Create checkbox for each jobID and add one more column to align the titles. Replacement is done for each <TR><TD match***/

function do_checkbox_script() {

do_modify_html_it(
    …
0
Running .IIS 7.0 Windows 2008 R2
Error on this line oexcel = CreateObject("Excel.Application")

When running the application on the server.  Does this mean I need Excel 2010 installed on the server?
0
I have only worked with JMail in the past.  Within the past three days, my hosting company started requiring SMTP authentication on forms on my website.  

Having never used this component before, I need some help.  For whatever reason, the JMail Component is not working either.  I receive an error - see below for the codes.

The email that is being sent to me - is just a text email.  Nothing special.  But forwhatever reason, I cannot get the JMail component to work - I think it might be version 4.4 - they (hosting company) are checking on it now.

But I really need to get something working  and soon since I do a guest experience now on Sirius XM Radio every couple of weeks.  

Any / all help will be appreciated to get these forms working.  I have at least four of them, but I am hoping that after I get help with one of the codes, I should be able to get the others going.

Thanks!
Contact Form:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="includes/master.css" type="text/css" media="screen" />
	<!--[if gte IE 6]><link rel="stylesheet" href="includes/ieonly.css" type="text/css" media="screen" /><![endif]-->
	<link rel="stylesheet" href="includes/print.css" type="text/css" media="print" />
	<title>Contact Mile High Merchant 

Open in new window

0
Using xsl I need to change a date feed from my XML from yyy-mm-dd to dd-mm-yyyy

How can this be done easily?
0
hi, please help me what i am doing wrong in the followig code. RadGrid is empty, but the DataTable is getting data from DB:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
    </telerik:RadScriptManager> 
    <!-- content start -->
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadGrid1"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="LBL_Surname" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="TB_Surname" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="LBL_Name" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="TB_Name" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="Btn_Search" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> 
    </telerik:RadAjaxLoadingPanel> 
    <!-- content end -->
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="80%"> 
        <telerik:RadPane ID="RadPane1" 

Open in new window

0
According to http://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx , "Users and organizations that choose to disallow ActiveX controls can still use XMLHTTP-based Web applications in Internet Explorer 7", and the way to do that is by enabling setting "Enable Native XMLHTTPRequest Support".

We are using IE8. The group policy allows running only administrator-approved ActiveX controls; xml http is not among them; but "Enable Native XMLHTTPRequest Support" is enabled (it's actually enabled even by default in IE). With these settings, the page www.igoogle.com throws an error when clicking on "Add Stuff". The error says that it failed to create object, and looking into the source of the .js file mentioned in the error shows that it was trying to create Msxml2.XMLHTTP or Microsoft.XMLHTTP:

function ig_k(){var a=ig_;if(window.ActiveXObject)(a=new ActiveXObject("Msxml2.XMLHTTP"))||(a=new ActiveXObject("Microsoft.XMLHTTP"));else if(window.XMLHttpRequest)a=new XMLHttpRequest;return a}

If I add msxml2.xmlhttp ( {F6D90F16-9C73-11D3-B32E-00C04F990BB4} ) to the list of administrator-approved controls, the error disappears.

Isn't this contrary to the article's claim that the setting "Enable Native XMLHTTPRequest Support" should allow that even without allowing activex controls?
0
Is it possible in FCKEditor to reference the SAME stylesheet the website is using?
If so, HOW?
The manual says to change the FCKeditor1.EditorAreaCSS = 'pathtoyourstylesheet' in the javascript config file, but that has no effect.
Clearing the cache, using different browsers, etc, has no effect either.
I've also tried putting my stylesheet in the same folder '/editor/css' and that has no effect either.
The version is 2.6.6 (the last version of the free editor)

All I want to do is have the user be able to see their output using the same styles as the web page (from a stylesheet NOT inline styles).
for example:   <div class="headline">Blah</div> should pick up the CSS class "headline" and apply the style in the FCKEditor.  

Stumped here.

 
0
Hi

I'm trying to limit the web access of our network but i would like to give the users the ability to use google maps. Everything in google maps works fine but not the street view. It works fine when i turn off the DENY ALL policy on the ACL, but not when the policy is on (a big black box). Does anyone know what URLs are required to access the street view? thanks.
0
Hi

Can someone please help me with the following formulas to avoid
#DIV/0!
#NUM!

=[FEV1]/[PredictedFEV1]
0
I have created win form control in Visual Studio 2008.

I want to use it on the Access 2007 form.

How I can include it to ActiveX list in Access 2007?
0
I need an ecommerce system for a new website that links the sales into accounts. Whats the best way to do this?
0

Web Components

Web Components are a set of standards currently being produced by Google engineers as a W3C specification that allow for the creation of reusable widgets or components in web documents and web applications. The intention behind them is to bring component-based software engineering to the World Wide Web. The components model allows for encapsulation and interoperability of individual HTML elements. Support for Web Components is present in Chrome and Opera and is in Firefox (with a manual configuration change). Microsoft's Internet Explorer has not implemented any Web Components specifications yet. Web Components consist of 4 main elements: Custom Elements, Shadow DOM, HTML Imports and HTML Templates.

Top Experts In
Web Components
<
Monthly
>