We help IT Professionals succeed at work.

Web Development

75K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

I have a web site where the labels on each of the data entry fields on the data entry screens have an HTML link to a help pop-up with information about that particular data entry field. The pop-ups need to be non-modal and the pop-up mechanism needs to allow multiple pop-ups to be open at the same time and not necessarily within the parent viewport. The site is a Classic ASP application which runs under Windows on as variety of web browsers.

The site works fine with IE and Firefox. However, with Microsoft Edge, the pop-up window is about 400 pixels wide (instead of the specified 240 px) and cannot be made smaller by grabbing the right edge of the window and trying to resize it. With Google Chrome, the pop-up window is about the right size, but has scroll bars.

Yeah, I know that each browser's rendering engine is different, but why are the pop-ups for Edge and Chrome not behaving per the HTML spec, which says the minimum window with allowable is 100 px and a window calling parameter string specifying 'no scrollbars'.

What am I missing here? Do I need to build my pop-ups using jQuery UI?

Here is a VB Script code snippet for the typical situation:

<td height="17" valign="middle" class="formlabel">
      <a href="javascript:;" onClick="openBrWindow('../../popups/results_pop/summaryselect_co.htm' ,'', 'top=100,left=550,width=240,height=300,scrollbars=no)">
      Number of Selected Companies</a>:&nbsp;</td>

and here is the JavaScript code to open the window:

      function …
0
i want to create a  few lines page for a cooking class doing n april 15 and if somoene wants to sign up accept payment online; i am using zoom to do the class later ; is there any site available for non techy  people to do that ?
0
I've been unable to find where the white space is coming from under the header on this page: https://shop.netherbymeats.co.nz/about-us/

Other pages in the site don't have the gap, and the dev tools in Chrome and Firefox don't appear to shed any light on why it's there, as far as I can tell.

This site is built with the Elementor plugin in WordPress.
white-space-under-header.jpg
0
Is there any bootstrap payment form that can be downloaded for free ?

Thx
0
Hi,

This is related to https://www.experts-exchange.com/questions/29173852/phpmailer-mailbox-unavailable.html

I’m testing sending out automated emails from http://selfregistration.iwscc.ca/email_test/index.php but not all are going through. For example, when I send to aleks@iwscc.ca I get “..mailbox unavailable or not local…”.

Please ignore “email sent” in this instance, because I quickly wrote the script without any error testing. However, it is sending to the following

aleks@aces-project.com (hosted by Microsoft, also mailbox is not local, but working)

apdcompany@gmail.ca (hosted by Google, not local and working)

One thing that I found strange when receiving the credentials for aleks@iwscc.ca as user is that said that if I want to encrypt emails, I need to purchase SSL. I know usually the SSL is for the server side, not client side. I am thinking that maybe that the iwscc.ca is some type of a budget server, but I cannot see how this relates to my script, which is at another server, and it should come down to sending a regular email. Manually, you are  able to email aleks@iwscc.ca.

What could it be?
0
Hey there,  Trying to get a content box to show/hide when you hover over an image.  

I have 3 images, and 3 bio box's.  Want to show zero boxes, until you hover over an image, and then on hover, the associated box shows up.  

Been trying to get this to work with CSS but not working so far.

https://buildertrend.flywheelstaging.com/company/about-2/
0
I saw these 2 libraries online:

ExcelJS
https://github.com/exceljs/exceljs

SheetJS js-xlsx
https://github.com/sheetjs/sheetjs

Just wondering which one is better in aspects such as stability, sustainability and resource consuming?

Thanks
0
I have an ISAPI extension web application implemented in C++
A client does a POST with the "Transfer-Encoding: chunked" header.
I cannot find an example or a documentation how to manage such type of request in ISAPI extension.
I put a debugger breakpoint in my ISAPI callback function and it hits only once with the first chunk in the available buffer.
Could somebody point me to a working example or/and documentation?
0
I am new to URL rewite module in IIS and can not seem to get my pattern correct;
Below is the URL that needs to be rewritten:

https://www.mmm.com/JACCC/clients/clientnbr?id=123

OR it can be

https://www.mmm.com/JACKK/clients/clientnbr?id=123

Open in new window


I need to redirect it to

https:/apps.mmm.com/JAZ/clients/clientnbr?id=123

Open in new window


I am stuck:

This is as far as I got with the pattern matching:
^www.mmm.com/([a-z,A-Z])/^JAC([j,a,c,J,A,C])/^clientnbr([a-z,A-Z])/^id([0-9])

Open in new window


And my rewrite URL is

https://apps.furry.com.DogLive/client/clientnbr?id={R:1}

Could someone help me please ??
1
Hi Experts,

If you go to www.iwscc.ca you will see in the header 2 orange buttons: Corporate and Self-Registration, both going to #

Under WP Admin, I see that this theme is called Nonprofit, and the buttons are set in Theme Options >Address Bar, and ou will see in the snapshot that I can set the buttons label, but not the url. My questions are...

1- How do I remove the Corporate button? If I leave it blank, I just get an orange square.

2- How can I actually set an url to these?

I know I can create a child theme, and address #1 with CSS and #2 with JS, but I think there should be an easier way since the theme provides these buttons.

BTW- even though in the screenshot it says Webdivia, under themes it says Nonprofit. I just inherited this website.

Thank you,
wp admin
0
Hi. I have been asked to put a header tag in the ASP.net whose markup is shown below
Part of the tag is shown in the first code piece below and the markup for the page is shown in the second code piece
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GN');</script>
<!-- End Google Tag Manager -->

Open in new window


<%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="Office2Web._Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

	<section class="p-0">
		<div id="homeCarousel" class="carousel slide" data-ride="carousel">
			<!-- Indicators -->
			<ol class="carousel-indicators">
				<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
				<li data-target="#myCarousel" data-slide-to="1"></li>
				<li data-target="#myCarousel" data-slide-to="2"></li>
			</ol>

			<!-- Wrapper for slides -->
			<div class="carousel-inner">
				<div class="item active">
					<div class="carousel-content">
						<div class="container h-100">
							<div class="row h-100">
								<div class="col-md-6 h-100">
									<h1>Widen your horizons. 

Open in new window

0
I created a 'brochure' website with Dreamweaver CS6 and PVII addons many years ago.
It looks fine on a desktop and laptop and is not too bad on a tablet.
It is however, it is very difficult to view on a mobile phone.

As a once-off project, I want to create a simplified mobile-only version
of the website (leaving the original www.site.ie as is.)
This mobile version would, I presume, be .... m.site.ie

I know a responsive/adaptive redesign of the entire site is the proper way to do the job,
but I am not prepared to do that near the end of my career for a single website.
(Besides .... the available budget is quite limited)

Do I need to insert a piece of  code in www.site.ie to redirect to m.site.ie?
Where is my m.site.ie stored on my hosting provider?
Any suggested tools & tips?

I use www.blacknight.com for my hosting.
0
Hi,

I have a assistance creating a simple web apps that would access one of the MsSQL server in the office.  A colleague mentioned that the best way to set this up is to have a certificate (HTTPS) and all file manipulation should done via an API file; that is, the code the programmer is writing would use the API to access the databases.  The purpose is to not permit the user have access directly to the data files.

Brainstorming with my assistance came up with some concern hope u guys orientate with this.

When the apps on the web links with the API it will create a token that will be used to access the data files.  If someone would click on the "+" sign on chrome it will create another browsing and the token would be in memory.  Can a person with bad intention use this token information and open up in that chrome instance some sort of browser-Sql apps to access the raw data of the database?  Like, if a person right-click on the apps web page and access 'View Page Source', would it give that person sufficient info to access the databases? In other words, that setup recommended above of using an API and Certificate would it protect my office SQL databases?
(I know nothing is 100 percent, but would like your expertise - or what would be your recommendation for setting this up)
0
I have the following code example that works:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>test</title>
  <script src="https://code.jquery.com/jquery-3.1.0.js"></script>
  <script>
    jQuery(document).ready(function () {
    
       var url = window.location.pathname;
       var pagename= url.substring(url.lastIndexOf('/')+1);
       $('a[href="'+pagename+'"]').addClass("current");
      
    
});



  </script>
  <style>
  a.current{color:red;}
  </style>
</head>
<body>
<nav id="main-nav">
      
      <ul>
         <li class="current">
            <a href="index.html"  data-description="The Basic Info">The House</a>
         </li>
         <li>
            <a href="location.html" data-description="Where's It Located">The Map</a>
         </li>
         <li>
            <a href="rates.html" data-description="Booking Info">Rates & Avalability</a>
         </li>
         <li>
            <a href="reviews.html" data-description="What'd They Think">Reviews</a>
         </li>
         <li>
            <a href="contact-us.html" data-description="Need More Info">Contact</a>
         </li>
      </ul>

</body>
</html>

Open in new window

The issue is the actual file I want this applied to is actually a Server-side include and I don't seem to be able to get this to function properly in an SSI? I've played with moving jQuery include inside and out of SSI but no luck?  Here is the actual SSI include:
<header id="header" class="container clearfix">
	<a href="index.html" id="logo">
		<img src="img/logo.png" alt="SmartStart">
	</a>

	<nav id="main-nav">
		
		<ul>
			<li>
				<a href="index.html" data-description="The Basic Info">The House</a>
			</li>
			<li>
				<a href="location.html" data-description="Where's It Located">The Map</a>
			</li>
			<li>
				<a href="rates.html" data-description="Booking Info">Rates & Avalability</a>
			</li>
			<li>
				<a href="reviews.html" data-description="Don't Take Our Word For It">Reviews</a>
			</li>
			<li>
				<a href="contact-us.html" data-description="Need More Info">Contact</a>
			</li>
		</ul>

	</nav><!-- end #main-nav -->
	
</header><!-- end #header -->

Open in new window

Thanks!
0
Need automated collection of news by keyword

I urgently need to find news services where I can subscribe and get news relating to CoronaVirus. Know of any?

I also know that Yahoo! News allows me to pick a keyword. Know of any others?

Lastly, for the longer term, I plan to invest some development energy into build more automated tools, which I assume would use Artificial Intelligence.

Any such tools or technologies come to mind?

Thanks
0
Finding MySQL on my MacBook and remote DB access

I think I used to access MySQL from the browser (Chrome) on localhost, but I do not recall the exact URL.

Can someone explain how to find MySQL?

Also, I have a developer who will be hosting my website, not yet at AWS, but on an internal server. Can I view that database from my version of MySQL? I would of course need to be given access. I will access the website from an IP address I will be given.

Thanks.
0
Hi everybody.
So I have the website1.com which links some resources from the website2.com/static (both have SSL active): resources are images, css, javascript and fonts. All resources are correctly loaded but fonts. For fonts I get a CORS issue:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.webintenerife.com/static/fonts/Chandstate.otf. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

downloadable font: download failed (font-family: "ChandState" style:normal weight:400 stretch:100 src index:0): bad URI or cross-site access not allowed source: https://www.website2.com/static/fonts/Chandstate.otf

Open in new window


I have set the header in my .htaccess both in website2.com/static and in website2.com:

<FilesMatch "\.(ttf|otf|eot|woff|woff2)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "https://website1.com"
  </IfModule>
</FilesMatch>

Open in new window


Any idea?
Thank you in advance
0
What would be the Javascript code to attach and event listener to this element?
<button type="button" class="btn btn-mobile btn-tertiary btn-grp-back mt-5" data-name="btn-grp-back">Back</button>

Open in new window

Here is a bigger picture of the structure.  larger view of element structure
Thanks!
0
Hi,
How to verify that Php code below, is working?

        <form action="page.php" method="POST">
            <div class="col text-center" style="border: 0px solid blue;">
            ....

<?php
	include 'start0.php';
	$serverName = "1????,59365";

	$connectionInfo = array( "WIN-APIUFD1NJEU"=>"SS2012EXPR");
	$conn = sqlsrv_connect( $serverName, $connectionInfo);

	if( $conn ) {
	     echo "Connection established.<br />";
	}else{
	     echo "Connection could not be established.<br />";
	     die( print_r( sqlsrv_errors(), true));
	}

Open in new window

1
Is BitBucket the best choice?

I am starting a project which will involve various developers, some offshore. I need a GIT Repo I can use for source code management and have good memories of BitBucket.

Is it still a great choice?

I saw a difference between Free/Standard/Premium that I dis not understand...

"Build Minutes"...

I do not recall using BitBucket to Build anything. What does this mean? To Build on BitBucket??

This site will have a EJS front end with a JAVA back-end. Does this mean on JAVA code commits, an auto-compilation can be configured? That is probably an option, I presume...it may be a very good option, but I'd like to understand it.

Thanks
0
Hiding the toolbar on Chrome?

I am using a Virtual Desktop that's browser based to run Windows 10. It's pretty good, actually. But, if I could ask Chrome to hide the URL and Toolbar, it wold be that much better.

Does such a command exist?

Thanks
1
I'm trying to figure out why my code is not working properly?  I never get to the function _dtmSetProdType (#2 console.log) from my attempt to add the listener? You can test by going to https://apply.essexcredit.com/#blockdtm (***ensure you use the #blockdtm in the URL) and on the first page, run the code in dev. console and select the  product selectHere is my test code:
function _dtmSetProdType() {
    console.log("2 #### ====> IN  _dtmSetProdType");
    var selProdOption = event.target.value;
    console.log("3 #### ======> selProdOption : " + selProdOption);
};

function _dtmCheckProductSelect() {
    var prodSel = document.evaluate("//form/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div[@class='option-selected']", document, null, XPathResult.ANY_TYPE, null).iterateNext();
    if (prodSel) {
        console.log("1 #### ====> calling  _dtmSetProdType");
        prodSel.addEventListener('change', _dtmSetProdType);
    } else {
        setTimeout(_dtmCheckProductSelect, 1000);
    }
};

_dtmCheckProductSelect();

Open in new window

What I want is each time a selection is made, to grab that value of the select. Thanks!
0
WordPress site using the Avada Theme. Facebook Meta tags are showing twice:

Can anyone explain to me why the facebook meta tags are showing twice?  I am using Yoast.
ipopla.com is the site where this is happening.  For the life of me I can not figure it out.
0
If you go to https://apply.essexcredit.com/ on the first page, you'll see a select "What type of loan are you interested in? ". I need to set an event listener on this element and grab the value being selected.(RV or Boat).  Javascript only. Please see image

Screenshot of select
*** I can't touch/change the code on the page. I have to use a TMS to inject my code. ***

Thanks!
0
How would I detect if this element is on the current page and visible? Using JavaScript and NOT jQuery.

<p><strong>Before you Start</strong></p>

Open in new window


I'm fairly sure this function will suffice with detecting if visible.

    function _dtmIsVis(elem) {
        if (elem === null) {
            return false;
        }
        return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
    };

Open in new window


Thanks!
0

Web Development

75K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.