Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

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

Sign up to Post

Hi Experts,

I have a calculated field in a Caspio datapage that would like to change the appearance as follows.

1- Bigger size and bold.
2- Should be flashing.

The calculated value is.

case when [@field:Browser]="Chrome 78.0"  or [@field:Browser]="Safari 13.0" or [@field:Browser]="Firefox 69.0.1" or [@field:Browser]="Firefox 19.1" or [@field:Browser]="Firefox 68.1.1"   then ''  else 'Please update your browser!' end

Open in new window


See related question here.

Thanks
0
Become a Certified Penetration Testing Engineer
LVL 19
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Hi Experts,

I have following code for detecting if user has latest version of Chrome and Firefox browsers.

   else if(bowser.chrome) {
        var translate_bowser_osname = {"Windows":"win", "macOS":"mac"};
        $.getJSON("https://omahaproxy.appspot.com/all.json?os=" + translate_bowser_osname[bowser.osname] + "&channel=stable", function(data) {
            var latest = data[0].versions[0].current_version.match(/\d*\.{0,1}\d+/).pop() * 1;
            // FOR TESTING PURPOSE WE SET CURRENT BROWSER VERSION TO 77 (CURRENT IS 78.x.y)
            //if(version<latest) { // UNCOMMENt THIS LINE TO COMARE THE RIGHT CHROME USER VERSION AND COMMENT NEXT ONE
            if(77<latest) {
                var confirMsg = "please update your browser to the latest version";
                saveBrowserInfos("https://www.youtube.com/watch?v=RyI7RyEEPxM", confirMsg);
            }
            else {
                loginForm.submit();
            }
        });
    }

Open in new window


    else if(bowser.firefox) {
        $.getJSON("https://product-details.mozilla.org/1.0/firefox_versions.json", function(data) {
            var latest = data["LATEST_FIREFOX_VERSION"].match(/\d*\.{0,1}\d+/).pop() * 1;
            if(version<latest) {
                var confirmMsg = "please update your browser to the latest version";
                saveBrowserInfos("https://www.youtube.com/watch?v=K9LZmxT9K30", confirmMsg);
            }
            else {
                loginForm.submit();
            }
        });
    }

Open in new window


Would like to add checking for Safari as well.

Thanks
0
Need a quick web UI for a great speech recognition API

I sampled an AWS back-end API (using their demo) and found the quality to be excellent. Meanwhile, I have heard Google and Watson also have great API's.

But, my friend, who can no longer type into a keyboard, can not find a way to access any of these great API's.

Can you tell me the names of these services?

Do you know of any consumer focused front ends that would provide access to these awesome API's?

If I decide to throw together a quick front-end, which API is easiest to develop with?

Thanks
0
I am planning to javascript, but I started reading about typescript as well.
I don't understand the relation between these two yet.

is typescript totally different language, or is javascript derived from typescript or the other way around.
0
Is React as Object Oriented as Angular?

I've worked with Angular enough to fall in love with its modular design and how a new control that works on one web page and easily be dropped onto any web page in the project.

The way it limits the scope of the CSS, HTML and Javascript to the specific problem at hand, in my eyes, if what makes it so fast.

How about React?

I have no experience with React, but hope to see some coded snippets to explain how you'd connect logic, page placement and styling. (and anything else that should be considered when choosing React over Angular)

Also, any predictions on adoption rates? If a technology is flagging, I may not be as interested...

Any new technologies which may rival Angular and React?


Thanks
0
I would like to know how to create multiple language versions of an HTML page so that when a person comes to the page, the language of the person's browser is used to serve the page in that language.   My understanding is to use hreflang but not entirely clear on how it works.  I would also like to know how to structure the content in folders on the Web server to make all this happen.   Thank you!   Kind regards
0
I have Xampp installed in Windows2012R2.
I have this error after a reboot in Xampp. I have opencart installed.  
If I change the port from 80 to 81 or other port apache starts. Any idea what could be wrong?
It seems port is used somewhere not sure where?
Capture53.JPG
0
Hi,

How do I format a certain table in css (like this: https://www.w3schools.com/css/tryit.asp?filename=trycss_table_border_divider), while leaving alone other tables in my html?

J.
0
Hi Experts,

This question is related to this suggestion.

How do I apply that to a Caspio datapage?

See attached how its possible to insert JS code in Caspio's design model.

Thanks
Untitled.png
0
How can I convert a website I am currently on to a PDF file.. Showing all website content?  I want it to show header and footer information as well.
0
Why Diversity in Tech Matters
LVL 19
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Hi Guys,

We are having an issue with trying to connect to a 3rd party application from our website

We  have tried sending requests to the Azpiral sandbox server using Ajax GET and POST methods but i am getting a CORS error access control allow origin not present. CORS is installed on our domain https://ohehirsstudents.ie/.
Azpiral sandbox url for testing: http://sandbox.azpiral.com/PBPartnerWS/PBPtnrServices_1_11.asmx
WSDL file and docs are present in the attached Sligo IT zip file.

I can provide if really nescessary, i have spoke to their support and they are telling me that they hav enever seen an issue like this
0
I am trying to have a popup with a a nice alert message on my webpage, graying out the background and "OK" button has to be clicked. The page cannot be used until OK, or whatever button is clicked.

Does anyone have a working script for this? I'm assuming it is both CSS and js/jquery.

Thanks much and appreciate it!
0
We have  a need to track conversions using two Facebook pixels on our ecommerce site.  Would we be ok to include two pixel codes as per below?

<script>
<!-- Facebook Pixel Code -->
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '111111111111111');
  fbq('track', 'PageView');
</script>
<script>
<!-- Facebook Pixel Code -->
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '222222222222222');
  fbq('track', 'PageView');
</script>

Open in new window

0
Hi Expert's,
For remove multiple spaces in a string I use this code:
$var = preg_replace('/\s+/', ' ',$var);

Open in new window

What changes I have to do in the code, but for remove multiple hyphens?
Examples: this-is---a--test, convert to this-is-a-test;
this is a ---- test, convert to this is a - test;

The best regards,
JC
0
If you go to this site, https://www.stadriemblems.com in the footer in the bottom right corner, if you hover over the social media icons, they jump all over the place. I can't seem to find anything in the error console that is relevant to this. Is anyone with a better eye than I do able to spot the issue easily?
0
There is feature is working in the template I'm using but isn't working in my live site.

If you go here to the original template:
https://eagle-themes.com/templates/zante/index2.html
and look at the "OUR AWESOME SERVICES" section, you'll see the feature I'm trying to make work on my live site.

But if you go here to the live site:
https://www.stadriemblems.com/products/enamel-pins-test/
you'll see where I placed it, but it's not displaying properly.

Note that it does seem to be functioning properly, just not displaying any of the css. I figured there must be some external asset that it relies on that is in the original template but is missing from the working site, but all assets from the original template have been carried over to the live site.

I'm going crazy with this. It's probably something really simple, but I have been looking at it too long and can no longer see it.

Hopefully someone can figure this out!
0
How to customize my WordPress Homepage

I have WordPress and a PowerPress Blubrry plug-in, for my podcast. And thus far, I have only added my logo.

I need to see what options I have to customize the landing page.

Do I need to create a new Page for this? If so, how do I make that page the default?

I want to customize that page using conventional WordPress tools.

Thanks
1
Javascript.  Is there a way to add print page functionality to this script used here?  It is an ePub and I have the source code and have added a button on my local machine but it wants to print the entire thing.  Any suggestions?
http://www.milestonedocuments(DOT)com/assets/reader/?epub=epub_content%2FWestern_Civ_2_Standard_Edition.epub&goto=epubcfi(/6/24!/4%5BWestern_Civ_2_Standard_Edition-10%5D/2/84/1:133)
0
How would I monitor and report if the value (dollar amount) in the  example below changes?  This is the only element with a class name of "amount" JavaScript only.

<div class="amount">$100.00</div>

Thanks!
0
Rowby Goren Makes an Impact on Screen and Online
LVL 19
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

An employee that took care of hosting the company website was fired yesterday.

We're doing some checking but likely he has the keys to the website hosting account - it's likely using a personal email address of his

I am the domain owner with Godaddy,  The name servers point to the hosting company that hosts the website.

The website is still up, but I would expect he could / will take the site down.

What's the best way to try to download the site at this point?  Again, we don't have access to the account / just FTP all the files as an admin.  I'm thinking we have to do what we can using the public facing part of the website? (I really know nothing about web development, hence this other guy offered and the owners went with him for that).

I remember apps years ago that would just go to www.domain.com, save that page, and go to all the links to pages on that website, downloading each, following links untill they download everything.

The public pages might not be usable depending on the language the page is written in? (ie if a page is written to show today's date for ecxample, the html we download will have todays date. but not the script / code that set it as today?  Open that page tomorrow and it might say today's date?).

But at least we'll have the look and feel of the site.
0
Hi E's,
I need a Regular Expression because I'm developing an application for banking matters, and in this case, I have to check some tax rate.
The RE just validate if the first character is a number/numbers, a end point, and in the end number/numbers again, like this examples:
0.1
11.45
0.000
0.975

Can you please help me?

The best regards, JC
0
Hi E's,
I create this regular expression:
"^([0-9\u2098\s]*)$"
The objective is just allow the character M or m, and/or numbers from 0 to 9 (ex: m1; m99, 991, mMM10) , but unfortunately don't work.
What I do wrong?

The best regards,
JC
0
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://magickitchen.com/css/rss.css" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">


That's what I have on my rss feed, but the stylesheet isn't working anymore on Chrome, Edge, Firefox or Brave. https://www.magickitchen.com/news/healthy-living-feed.xml

It did work up until a short while ago, I don't think I made any changes, and the css file is there.
0
I need to transition to OHV for WordPress

I expect to have some controversial topics on my podcast and hope to use OHV, a provisioning company, instead of a hosting company. But I am not ready to invest $70/month to do this.

https://www.ovh.com/world/

Right now, I am pulling things together using MAMP, but have no plans to purchase the Pro version when it expires. Instead, I hope to host it at a less expensive place when I launch it and get a a solid backup with something like BlogVault, Duplicator or BackupBuddy. I want to move to OHV when I feel the investment pays off.

And, if I get cut off by a hosting provider due to my content, the investment would be worth it immediately.

So, please suggest an inexpensive provider I can start with which has good reliability. I expect to pull thing together on MAMP.

When I buy a plug-in to test on MAMP, is it easy to use it at a hosting provider? I assume there is no licensing issue that would me to purchase a second copy, right?

Thanks.
0
I am developing an app using Apache Cordova and I have the following code which fails to execute. The idea of the code is:

1) loop through the array with all orders (JSON)
2) retrieve the customer's name
3) generate a table or <tr>

The problem is point 2 - the code just stops and I have to restart the server.
The array with orders is not that big - around 150 JSON objects which I retrieve when the application loads;
the array with customers is even smaller: just two clients are in the array.

Is this an issue with JavaScript concurrency? I would appreciate it if someone can give me an idea of how to tackle this, as I have spent hours trying to figure out how to make this work.

Surely, it must be possible to retrieve the orders - then lookup the customer's name - and then put the data into another array.

Thanks

Massimo

      /**
       * @description retrieves all orders for megamax and genereates table rows for the HTML table
       */
      this.getAllMegamaxOrders = function () {
        "use strict";
        var mm_orderID = 0;
        var mm_customer_id = "0";
        var mm_orderDate = "";
        var mm_customerName = "";
        var mm_lat = "";
        var mm_lng = "";
        var mm_price = "";
      
        
        //loop through all orders from array allOrders
        for (i = 0; i < app.allOrders.length; i++) {

          //populate local variables
          mm_orderID = app.allOrders[i].id;
          mm_customer_id = 

Open in new window

1

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.